Honestly, you should never self-medicate while pregnant. Azithromycin is an antibiotic and is only safe if your gynac has specifically prescribed it for an infection. Call your doctor's clinic and ask them directly.
Oh, please don't take any antibiotics on your own, especially during pregnancy! Even with my twins, I never took a single pill without calling my clinic first. WhatsApp university is not a doctor!
My doctor explained that azithromycin is sometimes prescribed if benefits outweigh risks, but only under supervision. Please do not take it unless your doctor has evaluated you and written a prescription. Safety is key.
I remember getting a bad throat infection when my baby was in my tummy. My doctor prescribed me a safe antibiotic, but please check with your own gynac first. Don't worry, they know exactly what is safe for your baby.