Your first step is to make sure you have the means to manage your dog safely during a hyper episode.
Make sure your dog is wearing a harness and line so that you can control him, and remain very calm yourself.
Stop all rough play and walk the dog around until he calms down.