Anxiolytic medication is used to decrease anxiety or other mood problems. Hypnotic medication is also used for anxiety and mood, but they are often used as a sleep aid.