help !!!

i recently went to the obgyn and got a call back saying i had a bacterial infection they sent in medicine all good . i’m taking my last pill of that tonight , would anything happen if i were to have sex ? also today i noticed i have small dots around my vagina but they blend in with the rest of my skin down there , they don’t itch they dont hurt they are just there anyone know what that could be ?