Esp32 Not Working After Frequent Switching

Everything is working fine with my project but sometimes on frequently switching. The esp32 seems to be not working. Power is on. But turning the switch on or off. Dosen’t switch the relays. But after restarting the esp32 using EN button or disconnecting the power, things become normal again.

Is there any idea what may be the possible cause for it.

Thanks for any kind of help in advance.

4 posts were merged into an existing topic: Esp32 Restarting Automatically If Not Connected To Hotspot