Certain drugs and medications like double action antidepressants, diuretics, beta blockers, high dose steroids like corticostreoids, prednisone, and other stimulants and antipsychotic agents can cause or put you under the risk of hyperglycemia. The only solution is to either change the medication, or to lower its quantity.