How do I turn off the sound or music?

From the main map, you should look for the sound icon in top right corner of the game screen.

During a level, you can turn off sound and music by clicking on the sound and music icon in the bottom left hand corner of your game.