Thalidomide is a leprostatic drug used in the treatment of skin inflammations in patients who have leprosy also known as erythema nodosum leprosum. Therefore, it is an immunomodulatory agent that works on the body's immune system to help decrease on some chemicals that cause inflammation on the skin.