Managing the adverse effects of nonsteroidal anti-inflammatory drugs