Sick and pregnant

So I got really sick throwing up, a fever, headache and couldn't even eat.. I took a pregnancy test the same day And negative. Almost a month later I take another one and I was pregnant..

My question is has that happened to anyone else? Because I'm having a few pregnancy symptoms but not like my first and the test came back negative.