i had gone through your query.
Headache with photo phobia and phonophobia
may indicate migraine attack.
It is usually unilateral/ associated with nausea and vomiting.
Tab NICIP is nimesulide
can help to relieve it but it has various side effect.
Avoid long term use of it.
Other medicines like paracetamol/brufen/diclofenac
has similar effect with low side effect as compare to nicip.
If it is diagnosed as migraine then prophylactic treatment with amitriptiline/flunarizine
etc can help to prevent further attack.
Do take advise from your doctor before taking any medicines.
Still have query then feel free to ask.
Happy to help you further.