Many medications cause brain fog and memory problems - especially sleep aids, painkillers, and antihistamines. Learn which drugs are most likely to blame and how to reverse the effects safely with your doctor.