You can get a DUI for any type of impaired driving. This includes prescription drugs and illegal substances. You could face a DUI charge if the medication impairs your normal faculties and alters your ability to act or think safely.