For tension headaches, you can take over-the-counter solutions like ibuprofen. Sleep/rest is also a must, in order for you to recuperate properly and not think too much (this could just worsen the ailment).