I think you know
I think you know the answer to that question already! do things to make your mind stronger, not things that will damage it in the long run, not to mention the damage the medication will do to you liver and/or other parts of your body.
To do well on exams eat healthy
, don't skip meals, get enough sleep
, and study the material. Good luck!