Confused

My psychiatrist told me that it would be best for me to wait before I have a kid because I have depression and anxiety from abuse in the past (PTSD is what he called it which I guess is true) so he prescribes me clonazepam and fluoxetine and he tells me I should wait a few years (3-5) before I have a kid of my own. I’m just feeling down about the whole situation... Any advice?