The ancient L298N is NOT a stepper driver. It is a brushed DC motor driver for small motors, and because it uses outdated technology, works poorly for that.
Ignore any tutorials that suggest you can use it as a stepper driver.
Buy a stepper driver that can easily handle the rated current for your motors. Pololu has a good selection.