There are several classes of NSAIDs, which have different mechanisms and adverse effects: Nonselective COX inhibitors (eg, ibuprofen, naproxen) Selective COX-2 inhibitors (coxibs; eg, celecoxib) Both COX inhibitors are effective analgesics.