Topical immunomodulators, or TIMs, may also be prescribed to treat mild-to-moderate eczema. These skin creams work by altering the immune system response. This helps to prevent flare ups. But these medicines should only be used for short-term treatment.