Don't use "bad" badly!!
Bad is an adjective. It describes nouns or pronouns. It is often used with descriptive linking verbs like look, feel, sound, seem, or be.
Incorrect: Things looked badly for the Mudville nine.
Correct: Things looked bad for the Mudville nine.
("bad" is linked to the noun "things" by the linking verb "looked")
Badly is an adverb (like "well"). It describes verbs and should be used with all verbs other than linking verbs.
As many adverbs do, it usually answers the question about how something happened.
Incorrect: Mudville played bad last night.
Correct: Mudville played badly last night.
("badly" describes how they played.)