What's the best time to take ibuprofen for pain relief?

What’s the best time to take ibuprofen for pain relief?