Sex after miscarriage?

Mc

This might be a weird question but my doctor didn’t say anything to me. Are you supposed to wait a certain amount of time before having sex after a miscarriage?