Need advice

Went back yesterday to make sure misoprostol worked and everything came out. Lost our angel at 7wks5days, they gave me Methylergonovine to help stop the bleeding and let everything else come out. Once my bleeding stops can I have sex again?