Take tab amitone 10mg at night, it will help u sleep and also reduces headache.
U must be having anxiety as well which is not allowing u to sleep.
In that regards consult as medicine for that has to be prescribed on paper👍
Next Steps
Make a headache diary. Write about the triggers which causes headache next day. u will come to knw regarding ur headache triggers.