A driver who is taking a non-prescription drug should:

Many over-the-counter medications can affect your ability to drive safely. If you take medication, even a remedy for colds or allergies that is not prescribed, check the label for warnings about its effects. If you are unsure, ask your doctor or pharmacist about driving while on the medication.
DMV Writen Test