Treatment for a penicillin allergy may include antihistamines, corticosteroids, or epinephrine if the reaction is severe. The best way to avoid an allergic reaction to penicillin is to stop using it and to work with your primary care physician to prescribe other antibiotics instead.