Advice? At the end of June we unfortunely lost our baby at 5 weeks, ttc rainbow baby?

Advice? At the end of June we unfortunely lost our baby at 4-5 weeks, ttc rainbow baby.
The doctor recommended waiting 2-3 cycles before TTC, wondering why to wait?
Advice?!