Sex without Contractions

Hello I'm 38wks pregnant, and I want sex bad !!! We try to have sex but every time I do I have contractions that last all day and I feel uncomfortable. I need advice please ! We really want to but I don't want to contract.