Yes, as long as you are treated for the STD.