How to stop a sound when unpressed the button key?

I’m a bit of a noob in scripting. I have a soundloop for my first person controller (footsteps) and while pressing the Up Arrow key (keyboard) it starts playing, but I want to make it stop when the key is unpressed. So you only hear footsteps while walking with the person. Thanks in advance!

Start sound:

if (Input.GetButtonDown("ButtonName"))
{
    //play audio
}

Stop sound:

if (Input.GetButtonUp("ButtonName"))
{
    //stop audio
}

Or use GetKeyDown/Up using the appropriate KeyCode.