Chemical pregnancy

I had a chemical pregnancy. How long did your doctor say to wait to get pregnant again and how long did it take you to conceive