Flurbiprofen works by inhibiting the activity of cyclooxygenase (COX) enzymes, specifically COX-1 and COX-2. These enzymes are involved in the synthesis of prostaglandins, which are mediators of inflammation, pain, and fever. By reducing the production of prostaglandins, flurbiprofen helps alleviate pain and reduce inflammation.