dizziness at 15 weeks

Last night I woke up in my sleep and everything was spinning. I was so dizzy idk how I made it to the bathroom. But I woke up this morning fine just a little head ache. Has this ever happened to one of y'all? I think I have an ear infection but I don't know if I should get checked out or what. At the doctor the other day everything was perfect.