Tolmetina is in a class of medications called NSAIDs. It works by stopping the body's production of a substance that causes pain, fever, and inflammation.