Macrobid for uti pregnancy (TMI)

Jax
Has anyone suffered side effects from macrobid? Im 10 wks with a uti. Last night i woke up thinking i was having a miscarriage here i had a bad case of diarrhea started to vomit. After 3 hours i took immodium and felt better. Took my next dose in the morning. Now im lightheaded and vomiting.