Arduino Contol Fails

Kindly provide me a quick solution to fix this.

I suggest that you fix it yourself. You have the hardware. We don't. We don't even know what hardware you have.

You have the software. You have the ability to add debug statements. You have the ability to determine where the failure occurs.