Freaking out/food/pregnancy

Has anyone ever had star anise in their soup? Or just overall... I had it in my soup today and i’am scared because it said it should be avoided... not sure if causes miscarriage. I’am only in the first trimester