is it anxiety ??

so for the past few months I’ve been feeling very off. I noticed that every time I take a pain killer or something the doctor prescribes (metro gel for my bv) I feel weird after. I’m not understanding why since I had used it plenty times and pain killers as well. It’s really weird