First things first: be confident. It is extremely important. Confidence is the key to success. It helps you get rid of all the problems. Make sure that you talk to yourself before going up on the stage. This will help you restore all the confidence within you. Moreover, this will also aid you in getting rid of stage fright, which gets to most of the people who do not like to be on stage.
Make sure that you have set your equipment properly. The cords that you will use to plug in the guitar should not give any feedback. A feedback would ruin the whole performance. Imagine yourself being in the crowd- would you like an annoying sound coming from the speakers throughout the time a guitarist is playing something? Therefore, make sure that you take your best cords and plug them in on the stage. In addition, test them before the performance begins.
Stage dives, head banging - these are all secondary options. First concentrate on your sound and then start dancing around the stage accordingly. If you are moving more than you can actually play, people will not like it. People love a good sound because they are there to listen to good music. Therefore, make sure that your playing isn’t being affected by the amount of movement you have on stage. At times you move so much that either you unplug your cord, or you end up forgetting where the processor is. Try not to make a mess of the performance and stay within limits.
Lastly, make sure that your guitar is tuned. An un-tuned guitar on stage sounds like an alarm clock during your sleep. You don’t want the people to put their fingers in their ears and run for safety. Therefore, just tune your guitar before the performance - it will not take much of your time.