Help!!!

Throughout my pregnancy my boyfriend and I have mostly stayed away from sex due to the fact that it has become painful to endure. Recently I had a dr appointment and they were checking to see if I was dialated and the pain was unbearable. Worst I had ever felt. Being so close to delivery (3 weeks away) I'm starting to panic about being checked more often and having to go through this again. Has anyone else gone through this. I'm desperate to know I'm not the only one!