Safe Medication

What medication is safe to take for headaches? I'm not sure if I'm pregnant yet so I'm just trying to be careful but I have had a horrible headache for hours now. Thanks ladies!