Types of Pills to Treat Anxiety A certain amount anxiety is an normal reaction to events in your life. If, however, your anxiety is causing problems and keeps you from sleeping or operating normally, you may need medication to treat it. Medications used to treat anxiety include benzodiazepines and beta-blockers.