My pen keeps on glitching and drawing zig zags instead of a straight line

Hi i go this tablet yesterday and all of a sudden the pen would glitch and when i would draw a straight line it would just draw zig zags and it’s getting really annoying if anyone know how to fix it please help thank you
  • Same issue