Motor and L298N

What kind of power supply are you using? If I have that information I might be able to help you.