When the target is highlighted, you can use a spell on it or attack using hotkeys (by default they are 123456789).
To aim at the enemy, click on him with the mouse. When the target is highlighted, you can use a spell on it or attack using hotkeys (by default they are 123456789).