Vaginal suppository

Hailey

Im 16 weeks pregnant and just used my first vaginal suppository miconazole for a yeast infection i had developed from the antibiotics i was on for a UTI. it melted inside me and it feels like it all just came out. Im supposed to keep it in overnight but i feel like the muscles in my vagina just pushed it all out does this mean it wont work?