The best way to do this is tap off any remaining ash, then gently blow through the cigar to clear any stale air. Then, as you light it, continue to blow gently through the cigar with the flame at the foot for about three seconds before you take your first draw. Doing this simple set of actions will greatly reduce any initial sour flavor from a relit cigar.
When I purge I puff through the cigar while holding my torch to the tip. Often I can just light the gases and they'll stay lit on their own as I puff through the cigar. I inhale through my nose as I puff outwards constantly until the flame on the end of the stick goes out on its own. This is just the way I purge.
When the flame is gone, the next two to three puffs of the cigar are in my opinion, the absolute best flavor you'll ever get from a smoke. This is where you get the huge flavors of nuts and leather that make my mouth water as I type this now. It's what makes a good cigar absolutely stunning.
I highly recommend purging at least two or three times through a cigar. I especially do it nearing the end of a cigar to revitalize a smoke that may have gotten a tad bitter or when the flavor starts to change because of the tar buildup.