Painful sex

Taylor • 20. Had my first baby girl on October 17. Macie Lane 🎀💕
I'm 20 weeks pregnant and when me and my SO have sex it hurts soo bad. It feels tender then I get shooting pains. I was told I have a shortened cervix, could this be why??