When to stop

Siyamta
Is there a time or period when a couple have to stop having sex when pregnant? I am 32 weeks pregnant,me n my husband have stopped havung sex even though we still want to but we don't wanna harm the baby