Hi, can anyone please explain to me step by step how to slug a barrel to determine the size of cast bullet required?

Many thanks, Jimbo