freaking out!!!

I took oral clotrimazole my husband accidentally gave me the wrong medication it was suppose to be Gas x for IBS but they both come in big white containers I didn’t read it, now I’m freaking out since I’m pregnant and I don’t know if it’s safe I’m only 9 weeks along

Update: talked to my doctor he said baby will be fine but I feel so so stupid for taking it I just take so many medication and when my husband handed to me I didn’t think twice but I’m made at myself I want to cry!