My GP said it’s safe as long as you are taking the normal panadol (not extra) prescribed by a doctor, and not more than 8 tablets a day.
I don’t know how long you have been taking. If you are worried, try to stop for a while and get some good rest. You may try using pregnancy safe essential oil to cure your headache.
I am using this: https://inaraorganics.com/products/head-aid-roll-on?_pos=1&_sid=9cf848521&_ss=r
Iffah Arizqy