We start by creating a (sometimes prioritised) list of tasks that need to be started, this is called the backlog.
All tasks have some X story points, which measure how much effort it takes to complete it. We do not make estimates of actual time but relative time taken.