How long to get pregnant again?

Me

Just found out today I had a miscarriage. 2 days ago there was a heartbeat and the sac. Today nothing. I’ve passed large clots and have very heavy bleeding. My question is how long does it take to become pregnant again after a miscarriage?