Methotrexate, azathioprine and cyclophosphamide are medications that affect the immune system and tend to help with sarcoidosis. They do, however, have some significant side effects, including causing abnormalities in unborn children and increasing the risk of some cancers.