Sex after loss

This might be a stupid question but I really wanna know everyone’s experience

How long after loss did y’all wait to have sex again?? I was told to wait two weeks by one dr and told to wait 4 weeks by another