The app won't work until it's connected to the new Wi-Fi, so hopefully you can get the remote working. If not, you could try setting up your new Wi-Fi to match your old Wi-Fi (same SSID/network name and password). For the remote, make sure you have good fresh batteries and be very close to the stick when you power it up.
Roku Community Streaming Expert
Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.
I am not a Roku employee.