having sex before bleeding has stopped completely

Malena
My nurse told me to go on and have sex when I feel ready. She said we will never know completely when the bleeding is done because I can spot for a little while also. I'm just nervous that it can cause issues if we have sex too soon. 
Has anyone ever had sex before bleeding has been completely done after miscarriage and had issues getting pregnant or infections or anything of the sort?!