Pregnancy sex

Currently 27 weeks pregnant, I’ve only tried to have sex during the pregnancy about 3 times each time it hurts as if it was my first time every time . Tried lube today and it stung so bad . Should I express this concern to my ob ?