Hi. Celebrex is a celecoxib, which is an anti-inflammatory, meant to reduce inflammation in the body. If you have a nerve that is being pinched in your spine, more likely there is inflammation surrounding the area, and celebrex may be able to help reduce the inflammation some there and cause you some relief from your pain. It's not a cure, nor does it fix the pinching, it is an aid.
What is your diagnosis, how long has it been doing on, and what type of doctor are you seeing, and how are you being treated at this time?