Fainted

I almost fainted at dinner tonight and had to go outside

I was super lightheaded like never before so I immediately thought it was me being pregnant and I’ve taken many tests and it’s all negative. I have had a cold the last few days and taken medication that could of made me sick? But any other opinions?