Has anyone had BV before ??

So I had sex on my period but it was like the last two days then I had this bad odor for two days and it went away. Than my period came again and had sex again on the last two days and I had this Fishy odor Eww. I went to my Obgyn today and she told me I have an bacterial infection đŸ˜‘ ! Now I'm on metroNIDAZOLE 500MG. It taste horrible! I just wanna know has this happen to anybody and when I finish taking the tablets will my BV go away forever and has this happen to anybody?