Find out what is playing audio
If this happens in Safari, the tab for a site that is playing audio will have a small speaker icon on it. See the image below which shows 3 tabs in the top of my Safari window. Clicking on the speaker icon stops it from playing. See the middle tab in the image.