Iron deficiency anemia can also cause brain fog because if you bleed a lot, your body doesn’t have enough iron to produce hemoglobin. To improve your cognitive impairment during your period, make sure your iron levels are sufficiently replenished by consuming an iron-rich diet that includes red meat, nuts, beans, dried fruits, cereals, and liver.