celebrex is a non steroidal anti inflammatory drug often referred to simply as an nsaid nsaids block swelling pain and fever celebrex works by stopping the production of cox 2 a natural substance in the body that causes pain and inflammation