Bacterial STDs such as gonorrhea and chlamydia regularly result in pain and irritation during sex. If you have open sores or blisters from genital warts or genital herpes, pain may also be present. These infections may also lead to vaginitis, causing inflammation and pain until tested and taken care of.