Esp 12s and nano reconnect issue

Everyone hello friends … I am using esp 12s and arduino nano I use standard codes . My problem is that I turn off the modem and after a couple of hours I switch on the modem and the ESP 12s is not connected

What should i do when the connection is broken To connect yourself again
Or reset to nano or power off and on again nano

I’m sorry for my bad english :))

#define BLYNK_PRINT Serial

#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "YourAuthToken";

// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "YourNetworkName";
char pass[] = "YourPassword";

void setup()
  // Debug console

  Blynk.begin(auth, ssid, pass);
  // You can also specify server:
  //Blynk.begin(auth, ssid, pass, "", 8442);
  //Blynk.begin(auth, ssid, pass, IPAddress(192,168,1,100), 8442);

void loop()
  // You can inject your own code or combine it with other sketches.
  // Check other examples on how to communicate with Blynk. Remember
  // to avoid delay() function!

It is not clear in the Documents, but Blynk’s Connection Management methods are meant for standalone ESP use only. The proper Blynk.Config() methods don’t seem to work when using an ESP as a WiFi adapter for an Arduino.