The most commonly prescribed medications for AS are non-steroidal anti-inflammatory drugs (NSAIDs). These treat the pain and inflammation associated with AS. However, it is important to note that people respond differently to their disease and treatment; therefore, it can take some trial and error with different medications to find the right treatment for you.