Thanks for writing in to Healthcare Magic!
The headache can be an independent onset and you can take pain killers which are safe in presence of ATT like Ultracet
Another possibility is a side effect of ATT drugs as such or may cause a derangement of liver
function and which can cause headache.
You should get test LFT done and review to your physician.
If you have any further query please let me know I would try to answer it for you.
Wish you a great health!