text: is it a bad idea to take an ibuprofen just before a university exam? i have a headache and an exam in a couple of hours, will taking an ibuprofen be bad for me in terms of performance in the exam? it is hard to say, because things affect everyone differently. i would go for it though. side effects are rare, and if you dont take it you will be too ill to concentrate anyway. good luck!