Is it safe or not

Is it fine if I still have sex with my boyfriend at 36 weeks pregnant?