For pain relief, it is similar to paracetamol (acetaminophen), which is the first line treatment for osteoarthritis.Evidence of effects are not clear as a number of studies done by the manufacturer have not been released for independent analysis. Familial adenomatous polyposis
It has been used to reduce colon and rectal polyps in people with familial adenomatous polyposis, but it is not known if it decreases rates of cancer, so it is not a good choice for this reason. Adverse effects
Cardiovascular events:  NSAIDs are associated with an increased risk of serious (and potentially fatal) adverse cardiovascular thrombotic events, including myocardial infarction and stroke. Risk may be increased with duration of use or pre-existing cardiovascular risk factors or disease. Individual cardiovascular risk profiles should be evaluated prior to prescribing. New-onset hypertension or exacerbation of hypertension may occur (NSAIDs may impair response to thiazide or loop diuretics), and may contribute to cardiovascular events; monitor blood pressure and use with caution in patients with hypertension. May cause sodium and fluid retention, use with caution in patients with edema or heart failure. Long-term cardiovascular risk in children has not been evaluated. Use the lowest effective dose for the shortest duration of time, consistent with individual patient goals, to reduce risk of cardiovascular events; alternative therapies should be considered for patients at high risk. The increased risk is about 37%. Gastrointestinal events:  NSAIDs may increase risk of serious gastrointestinal (GI) ulceration, bleeding, and perforation (may be fatal). These events may occur at any time during therapy and without warning.
Celecoxib, sold under the brand name Celebrex among others, is a COX-2 inhibitor and nonsteroidal anti-inflammatory drug (NSAID). It is used to treat the pain and inflammation in osteoarthritis, acute pain in adults, rheumatoid arthritis, ankylosing spondylitis, painful menstruation, and juvenile rheumatoid arthritis. It may also be used to decrease the risk of colorectal adenomas in people with familial adenomatous polyposis. It is taken by mouth. Benefits are typically seen within an hour.Common side effects include abdominal pain, nausea, and diarrhea. Serious side effects may include heart attacks, strokes, gastrointestinal perforation, gastrointestinal bleeding, kidney failure, and anaphylaxis. Use is not recommended in people at high risk for heart disease. The risks are similar to other NSAIDs, such as ibuprofen and naproxen. Use in the later part of pregnancy or during breastfeeding is not recommended.Celecoxib was patented in 1993 and came into medical use in 1999. It is available as a generic medication. In 2019, it was the 102nd most commonly prescribed medication in the United States, with more than 6 million prescriptions. Medical uses
Celecoxib is indicated for the treatment of osteoarthritis, rheumatoid arthritis, acute pain, musculoskeletal pain, painful menstruation, ankylosing spondylitis, juvenile rheumatoid arthritis, and to reduce the number of colon and rectal polyps in people with familial adenomatous polyposis. It may be used in children with juvenile rheumatoid arthritis who are older than two years of age and weigh more than 10 kg (22 lb).For postoperative pain, it is more or less equal to ibuprofen.