Syncope episode

For those who don’t know what that is. It means passing out or fainting. I’ll be 27 weeks pregnant tomorrow and for a couple weeks now I have had dizzy spells, they usually go away after a few minutes but today was different. I got dizzy and nauseous and I got up to go to the bathroom and I passed out on my bedroom floor, I was brought to by my two year old pushing on me saying “wake up”. Should I call my doctor? Or just go in? This happened a lot with my first born (who ended up dying at birth) and my OB then never took it seriously so I don’t know what calling my doctor would do this time around. Has this happened to anyone before?