adding sound

Hi! Please, can you put your code in tag? Using code tags properly
Take a look at documentation: Unity - Manual: Audio Source
You can see an example: Sound Effects & Scripting - Unity Learn