Headache after sexual activity is very common issue. Sexual activity leads to increased heart rate , increased respiratory rate. it also leads to dilation of blood vessels which causes increased blood flow. These physiological changes are responsible for the headache.
Next Steps
If the headache is not severe, you can try regular exercise, avoiding coffee, doing yoga and meditaton.