How can I safely manage side effects of ibuprofen medication?

How can I safely manage side effects of ibuprofen medication?