Sex while pregnant

Is it safe to have sex at 29 weeks pregnant