Whenever switch pressed the light should run for few seconds then it should stop

I need to control a 230v motor using relay. Whenever I pressed switch the motor should run for 3 sec and it should stop. I need a program and circuit. Can anyone help me to solve this.

All kinds of help are available. Can you determine exactly what help you need? Do you have an Arduino? Have you downloaded the programming environment (IDE) to your computer? Have you looked at and tried some of the example code?

Paul