help please need answers asap

At school right now and back hurts horrendously and the only meds i have is midol would that be okay to take even though im not on my period???