Will miscarriage affect me

Patient: Hello, I concieved on June 24 2013, I had a miscarage on july 1 2013. I was told I didn’t have to go in because I was only about a couple days and my body will clean its self. Well today is july 21 and I am pregnant again about a couple days. So I was wondering will my miscarage harm my pregnancy in any way?