Spectral observations in the Ly-α line have shown that atmospheric escape is variable and for the exoplanet HD189733b, the atmospheric evaporation goes from undetected to enhanced evaporation in a 1.5 years interval. To understand the temporal variation in the atmospheric escape, we investigate the effect of flares, winds, and CMEs on the atmosphere of hot Jupiter HD189733b using 3D self-consistent radiation hydrodynamic simulations. We consider four cases: first, the quiescent phase including stellar wind; secondly, a flare; thirdly, a CME; and fourthly, a flare followed by a CME. We find that the flare alone increases the atmospheric escape rate by only 25%, while the CME leads to a factor of 4 increments, in comparison to the quiescent case. We also find that the flare alone cannot explain the observed high blue-shifted velocities seen in the Ly-α. The CME, however, leads to an increase in the velocity of escaping atmospheres, enhancing the blue-shifted transit depth.