Is it safe to give dogs medicines with an alcohol base?

Any medicines should be prescribed by a vet