Yes, but this is provided you have no contraindications. Dentists say you may alternate paracetamol and ibuprofen for a toothache up to the maximum daily dosage of each one.