Is it safe to combine paracetamol and ibuprofen for pain relief?

Is it safe to combine paracetamol and ibuprofen for pain relief?