How Are Narcotics and Other Drugs Classified or Scheduled? – Healthline

They can be prescribed with some restrictions or limitations around use. Schedule 4 drugs are often prescribed to treat chronic pain and anxiety.
Source: back pain