You want to knead it several times until the dough ball becomes smooth and elastic. You can do a finger test to see if the dough is ready. If the indent stays, you need to continue to knead it. If it springs back, the dough is ready to rest.