Once the esp is connected to power, the esp turns on the relay and then turns off

Once the esp is connected to power, the esp turns on the relay for mile seconds then turns off again. how can i it make it directly turns off without it turning on for mile seconds at the beginning?