If you are taking narcotic pain medication, you should not drive or operate machinery until you are no longer taking these medications. Narcotic medications include, but are not limited to, the following common medications: Lortab , Percocet , Oxycontin  or others.