Vetprofen Flavored Tabs works by blocking the production of prostaglandins, the body chemicals that cause inflammation. Most dogs respond quickly to carprofen and become more active and mobile within just a few days of treatment.