We propose a scheme for the direct generation of an ultrashort pulse train as well as the further compression of pulsed lasers based on the nonlinearity inherent to parity-time (PT) symmetric optical systems. Implementation of optical parametric amplification in a directional coupler of χ(2) waveguides enables ultrafast gain switching through pump-controlled breaking of PT symmetry. We theoretically demonstrate that pumping such a PT symmetric optical system with a periodically amplitude-modulated laser enables periodic gain switching, which can directly convert a continuous-wave signal laser into a train of ultrashort pulses. We further demonstrate that by engineering the PT symmetry threshold, an apodized gain switching that enables the production of ultrashort pulses without side lobes. This work suggests a new approach for exploring the non-linearity inherent to various PT symmetric optical structures to extend optical manipulation capabilities.