You attack in 2 ways, auto attack (which like it sounds happens automatically when you're in melee range of a target) and using skills (either melee attacks, or spells).