How to prevent pain during and after sex:Preventive methods are going to vary a lot depending on the kind of infection, and you can talk to your gynecologist to get their specific advice on what steps you can take in the future. That said, there are a few good rules of thumb. For st...