snap out of

[snap out of] {v.}, {informal} To change quickly from a bad habit,mood, or feeling to a better one. - Often used with "it".

Mary wasunhappy when her fiance abandoned her, but she snapped out of it whenshe met a new young man.

The coach told the lazy player to snapout of it.