You control the main hero, but are able to give indirect commands to allied troops. Left click the hero or an allied unit to open the options for the turn. Give allied units their orders before your unit, or they will continue in default mode. Destroy the enemy in as few turns as you can. Spend the money you earn on new stuff from the shop.