Please help

Hello ladies. I am 30 weeks exactly today. Woke up so tired and all. And around 3pm I had a blackout. I went really really dizzy. Wondering what could have caused this. I drink a lot of water but I think am suffering from pregnancy insomnia. I am just wondering what went wrong? And if anything to worry about?