When I press my second button audio is still playing from the first button. How to stop the audio from first button when I click second button?

using UnityEngine;
using UnityEngine.UI;

[RequireComponent(typeof(Button))]

public class ButtonSound : MonoBehaviour
{
    public AudioClip sound;
    private Button button { get { return GetComponent<Button>(); } }
    private AudioSource source { get { return GetComponent<AudioSource>(); } }


    // Start is called before the first frame update
    void Start()
    {
        gameObject.AddComponent<AudioSource>();
        source.clip = sound;
        source.playOnAwake = false;
        button.onClick.AddListener(() => PlaySound());

        
    }

    // Update is called once per frame
    void PlaySound()
    {
        source.Play();
    }
}

In Audio Source Loop is true;

Hello.

tried this?

 void PlaySound()
 {
     source.Stop();
     source.Play();
 }

Bye!

@RobAnthem I have tried the first one but it does not work and I want to stop the sound of the first button when I click on the second button, but when I click on the second button, first sound play continuously and second button sound also plays.