Motrin

Can I take Motrin while on the Raw Food Detox? I have had a killer headache for 2 days, probably from the lack of caffeine. I need some relief!