Medication side effects

Don't think it was making me stupid. lol, but did Lipitor for years and my legs gradually got to being sore all the time, frequent cramps. Been off for about 6 months and nearly back to normal.
I did drugs that made me stupid. Quaaludes... That probably doesn't count tho...