A drug driver has been banned from the roads for three years.