The prescription and over-the-counter pain relievers shut down or drastically inhibit the activity of the Cox 2 enzyme.
They prevent the Cox 2 enzymes from releasing pg's so you don't have inflammation and so you don't have pain.