After I change my cyberpanel port then putty ssh not accessable

How can I solve this type of issue ?

Assuming you have CSF installed open the port in firewall https://SERVER_URL:8090/firewall/csf add custom ssh port to TCP and UDP sections to open the port for both type of packets