Methotrexate is commonly used to treat rheumatoid arthritis, psoriasis, and certain types of cancer. However, it may also be prescribed for other autoimmune conditions, such as lupus or inflammatory bowel disease, depending on the individual's specific needs and healthcare provider's recommendation.