Possibly. It depends on the medication.
The best course of action is to ask your doctor. Is it a good idea to stop "cold turkey?" in some cases this is ok. In others, it's a really (really!) bad idea. Talk to your doctor. That's the only safe alternative.