Sometimes when a person oversleeps, they can wake up with a headache. According to "Better Health Through Natural Healing," these sleep "hangovers" can be caused by the fluctuation of serotonin levels during sleep. This can also happen when someone gets too little sleep. It's an odd phenomenon because people tend to take a nap when they have a headache caused by some thing else. If a person has a tendency to get headaches from oversleeping, she can take some steps to get rid of that headache --- or even prevent it in the first place.
Go to bed at the same time each night, and wake up at the same time each day. This is one way to prevent a headache from oversleeping, because there will be no instance of oversleeping to cause pain. Sleeping the same amount each night and getting on a sleep schedule not only helps with head pain, but it also helps give the body more energy throughout the day.
Take some ibuprofen at the first sign of a headache, which doctors generally recommend. For those who prefer something more natural, try sniffing peppermint. The book "Aromatherapy" says that this scent will help you relax your body, let go of tension and will aid in getting rid of the headache.
Drink herbal tea. "The Illustrated Encyclopedia of Healing Remedies" recommends sipping tea when you wake up with a headache. The herbs can help relieve the pain. Herbs that are recommended in a headache-relieving tea are chamomile, rose hip and lemon balm.