Pumping session

How long do you actually pump each side? I understand that we need to ‘empty’ the breast but How do you define empty then? I want to prevent excessive pumping so as to prevent from having over supply.