change wifi setting after upload sketch, in esp8266node mcu

hello, to all

i am new in arduino and i have esp8266node mcu ,problem is that, every time i change my wifi setting my esp8266nodemcu disconnecting, is there any outer way to change wifi setting after upload sketch in esp8266node mcu