It depends upon what you mean. If you say, "I feel bad," then "bad," as an adjective, modifies "I," meaning that you are upset. If you say, "I feel badly," then "badly," as an adverb, modifies "feel," meaning that you have some trouble with your tactile sense.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.