How to pause and resume a sound when an event occurs?

anything for resuming sound after pausing?