Missed period -- not pregnant

I'm 20 years old and suffered a miscarriage last summer. Ever since, I have been very scared to have sex and rarely do. This past month my period was expected to begin the 2nd of March and never came. I was convinced that I was pregnant again. I took two pregnancy test and they were both negative but all the signs were the same. I started my period 3 weeks later and everything was normal. What could have caused this? This is a scare that I never want to experience again.