We report phase control in a periodically driven chaotic nanosystem consisting of a quantum dot light-emitting diode. Such a dynamical system is a class C laser, whence the charactering features are intrinsically chaotic. Phase control relies on the addition of small parametric harmonic perturbations with adjustable phase. Phase control is demonstrated by changing both frequency and strength of the controlling perturbations. Our results show that phase control has two crucial effects on a quantum dot light-emitting diode. First, it can enhance the spiking behavior in either regular or chaotic regimes; second, it is able to turn periodic behavior to chaotic behavior with a minimal perturbation when a resonance condition at half of the driving frequency is achieved.