Turning off an on URP lights 2d

Using URP lights how can i make the light turn off and on with a c# script. In unity2D. I wanted to make a glowing button that turns off when pressed