Shaking, feeling hot & weak! Help

I suffered super bad dizziness during the start of my pregnancy but it faded at the start of my second trimester. Through out my second and third I had problems where my face would go super pale, I’d be incredibly hot, my vision would blacken, and I’d almost pass out. I couldn’t hear out my ears for a moment. It was scary each time it happened. Thankfully I’m on maternity leave now but as I’m making dinner I started feeling really shaky, my hands and legs started shaking and I feel super weak and warm. I suddenly am really tired. Anyone know why this is happening? I’m anemic, but take my pills everyday and I also eat well. I’m 38 weeks