To get rid of headaches, take a pain reliever without a counter and find a quiet, dark place to lie for 30 minutes. When lying down, apply a cool compress to the part of the head that is aching. If you can't lie for 30 minutes, try massaging your temples with your thumb or rubbing your neck and shoulders to relieve tension. You can also drink a few glasses of water if your headache is caused by dehydration. To learn how to get rid of headaches with herbal remedies such as ginger and tea, read the article!