At the start of combat, an initiative test is made automatically. If you pass it, your character attacks first.