Follow the in-game tutorial. Click with your mouse on units in the map, then press A for attack command and click on enemy units or buildings. Click on a build icon, then click on a free place on the map for buildings. Also drag & drop for selecting a group of units. Helpful hotkeys are available for a lot of actions.