Yeast infection

So I went into my ob having a lot of pelvic pain and hurting when I went to pee and some discharge on and off he sent Urine to the lab and gave me a swab down there to check for bacteria and other stuff he prescribed me lavoflaxcin antibiotic and send me a cream for yeast infection as he said it came out positive for that have any of you ladies had a yeast infection I’ve never had one I was just having uncomfortable time sitting down cramping and felt bruised and poked down there and I noticed I was more bloated and gassy