Play/pause sound 1 button

would anoyone know how to make a button that when you click plays, but changes to the stop button, so you can stop/play with the same button?