The choice of anti-inflammatory drug depends on several factors including the type of animal, the specific condition being treated, and the overall health of the animal. For instance, while NSAIDs may be suitable for treating arthritis in dogs, corticosteroids might be necessary for managing severe allergic reactions or autoimmune disorders.