Here are some examples:
How:
* Clearly: I could hear the music clearly.
* Distantly: I heard a car engine running distantly.
* Loudly: We heard the thunder loudly.
* Softly: I heard her footsteps softly approaching.
When:
* Suddenly: I suddenly heard a loud bang.
* Later: I heard about the accident later.
* Recently: I have recently heard good news about her.
You can also use adverbs to describe the manner in which someone is listening:
* Attentively: She listened attentively to the story.
* Carefully: He listened carefully to the instructions.
The best adverb to use will depend on the specific context of your sentence.