Celecoxib is an example of nonsteroidal anti-inflammatory drug (NSAID), specifically, a COX-2 inhibitor that relieves the pain and swelling due to inflammation. Celecoxib provides pain, and swelling relief and hence is great for carrying on daily work. In general, it is used to treat arthritis and acute pain, as well as discomfort. Various chronic conditions such as arthritis, however, can not be treated using this medicine. Celecoxib blocks the production of prostaglandins enzyme in the body. This enzyme is the main reason for reducing pain and swelling. Celecoxib is also being used to treat the gout attacks. However, consult your doctor before taking this medication. It is generally given once or twice daily. In case you have stomach upset, you can take this drug with food.