As the time of battle gets closer you will have to try your best to lead your men in these strategy games online or else your kingdom or nation will most certainly fall. The best way you can do this is by taking the role of the commander and start making your presence noticed by the enemies.
Attack them and defend the key areas around your base and surely you will notice that the odds of the war are leaning towards you. Make sure that you keep your enemies at bay and spawn more of your units. Also if you have any sort of magical powers you should use them as many times as possible to further inflict fear into the enemies as they might retreat once they see they cannot outsmart you.