What did you change? This is key... without knowing the exact changes you made, it is not clear how to advise you with respect to the network settings or how to get your ssh sessions working again.
You could connect a display and keyboard to your Pi and you should be able to use the terminal.
hello there, so the only thing I did is change the LAN interface IP address by entering the command vi network and then editing the default IP address in the LAN from 192.168.1.1 to 10.70.71.1 and then I saved it by using the escape key then :wq
so did I do something that messed up with my pc settings?, because even after deleting OpenWrt and installing a new one I couldn't get it to connect
This should not have affected your pc settings, but after changing the openwrt address, did you renew your dhcp lease or try setting a static ip (on the pc) to ensure that the pc has the network settings updated accordingly?
Restarted my pc while keeping the Ethernet from my raspberry pi disconnected
Disconnected my pc from other connections
Set my ip address on the pc to DHCP
Entered ipconfig command
Then I saw that it changed the ip gateway from 192.168.1.1. to 192.168.1.199 what's confusing to me that even after formatting the sd card using the raspberry pi imager utility on windows my raspberry pi still asked me for the password I sat the first time when I ssh into it