Yeast infection/Virginity

So I lost my virginty recently. We had sex again the next day, and in the shower too. I'd recently started birth control as well and think it was all a bit too much for my vagina! Now I have a yeast infection. Can anyone relate? Tips for this to not happen again? xo