...
Start off with reading these: (These are really great! - Owen)
Part 1: https://www.electricbike.com/introduction-battery-design-1/
Part 2: https://www.electricbike.com/introduction-battery-design-2/
Part 3: https://www.electricbike.com/introduction-to-battery-pack-design-and-building-part-3/
...