In a voltaic cell, electrons flow from the anode to the cathode. Anode is negative while cathode is positive.
In an electrolytic cell, electron flows from the cathode to the anode. Anode is positive and cathode is negative.
For both, Oxidation occurs at the anode and Reduction occurs at the cathode.