Hi, and thanks for your medical question on eHealth forum!
If you started to have contractions at 33 weeks then yes you should refrain from both anal and vaginal sex. Both can stimulate the uterus or cervix whether directly or indirectly and can trigger labor.
All the best for your delivery! Take care!