You shouldn’t lose internet connection assuming you entered the correct values for the Gateway and DNS Servers (and the static IP address itself of course).
Put it back to dynamic IP address, reboot, and then copy down all the values. Enter those when changing it to a static IP address. Unfortunately this is one of those things that someone with knowledge could do, sitting in front of your PC, in about 10-15 minutes but it’d take ages to try and explain it remotely like this.