Glucocorticoids are potent anti-inflammatories, regardless of the inflammation's cause; their primary anti-inflammatory mechanism is lipocortin-1 (annexin-1) synthesis. Lipocortin-1 both suppresses phospholipase A2 , thereby blocking eicosanoid production, and inhibits various leukocyte inflammatory events ( epithelial adhesion , emigration , chemotaxis , phagocytosis , respiratory burst , etc.). In other words, glucocorticoids not only suppress immune response, but also inhibit the two main products of inflammation, prostaglandins and leukotrienes . They inhibit prostaglandin synthesis at the level of phospholipase A2 as well as at the level of cyclooxygenase /PGE isomerase (COX-1 and COX-2),  the latter effect being much like that of NSAIDs , potentiating the anti-inflammatory effect.
Corticosteroids may play a useful role in cancer treatment. Since they are strongly anti-inflammatory they are sometimes prescribed to reduce swelling and pain. They may be used with other drugs to reduce nausea and vomiting created by chemotherapy treatment. They may also increase appetite. In a few types of cancer, specific corticosteroids are sometimes used with or without chemotherapy drugs to destroy cancer cells. It's important to note that while corticosteroids can be an important aspect of treatment in some types of cancer, they may not be helpful in all types.