2nd trimester painful sex

My doctor said it's just from swelling, but it's been this way the whole pregnancy and I want to enjoy sex with my partner again. We use plenty of lube, but are there any other suggestions on how to make it more comfortable?