Last night, I woke up with a headache.
Before I went to bed, my dog wouldn't stop whining.
When I woke up (since you just said you woke up because your head hurt), my dog was asleep and I took some medicine.
When your head hurts, you can refer to it as a 'headache'.
When talking about medicine, you don't necessarily need to specify how you had it, so many people will generally just say that they " 'took' medicine".
I hope this is helpful for you and that you feel better!
This is how I'd write what you wrote-
Last night, I woke up with a headache. Before I went to bed, my dog wouldn't stop whining. When I woke up (since you just said you woke up because your head hurt), my dog was asleep and I took some medicine.
When your head hurts, you can refer to it as a 'headache'. When talking about medicine, you don't necessarily need to specify how you had it, so many people will generally just say that they " 'took' medicine".
I hope this is helpful for you and that you feel better!
@ladygreyytea Thank you very much your advice!