Help -ttc after d&c

I was told to wait until after my first cycle to try but 2 weeks after d&c I had sex. Pretty sure ovulated then too. Now I’m worried I’ll cause another miscarriage if my lining isn’t healthy yet, since my doctor told me to wait. Should I worry?