Disease-modifying antirheumatic drugs (DMARDs) are crucial in treating rheumatoid and psoriatic arthritis. Methotrexate, a folic acid antagonist, is commonly used due to its immunosuppressive and anti-inflammatory properties, though it can cause side effects like liver cirrhosis and mucosal ulceration.