i have a question

so a week ago i end up i end up goin to the er for throwing up they did a pregnancy test and it ba k back negative now i feel like throwing up ever since i got to work i was fine all day up until 8 got to work could it be possibly thar yhe test was wrong