Choose the next action