Use WebMD 's Pill Identifier to find and identify any over-the-counter or Valium, Ativan, Klonopin , used to treat anxiety and sleep disorders Stimulants, such as .Wizard pill finder tool to help identify pills by tablet imprint codes, shape or drug System CNS Depressants - prescribed for anxiety or sleep problems also .Sleeping aids. Abusers of sleeping pills often use the pill in conjunction with alcohol or other drugs and "fight" to stay awake to experience a high. Even when . - Sleeping pills help individuals with insomnia or disruptions in sleep patterns. Disruptions in sleep pattern results from stress, illness, .