Miconazole is a treatment for a yeast infection. If it was recommended by your physicians, this would have been to treat yeast. However, if you were given pills called Flagyl (also called metronidazole) this is a prescription that you take orally for Gardnerella infections. There is also Metro-Gel, a vaginal insert form of metronidazole that is also given for Gardnerella infections. These two medications sound similar, and I'm not quite sure which prescription you received. However, Metronidazole can not be taken with alcohol and if you had nausea, vomiting as a reaction to this medication, it was likely because of alcohol intake during use of this medication.
If your doctor prescribed a one time dose of 4 pills, I would recommend a week long course of one pill every 12 hours. If your doctor has already tried the week long course, I recommend a different antibiotic that has been shown to be successful when Flagyl fails. This antibiotic is called Tindamax. You would take one pill every 12 hours for 5 days. I also recommend you use RepHresh, a vaginal gel that helps restore the pH back to normal and prohibit Gardnerella growth. You can learn more about this gel at www.rephresh.com. Take care.