thought I was pregnant

I thought was pregnant and took test but no. Got my period today. ☹️ anyone happen same thing?