What should I do if the camera cannot be used after changing the Wi-Fi name or password?

You can reconnect via “Camera Settings - Reconnect Wi-Fi”.