Sometimes medications are used to treat mental health conditions, including depression. Different types of medications are available.