oops.se
It depends, You could go the App way and the MIT AppInventor is a nice and easy way to make a App. Or you could have a web server on your Pico W, more generic. And there is many tutorials on how to achieve this.
As a start, have a look at https ://microcontrollerslab.com/raspberry-pi-pico-w-web-server-control-led/