Solution 1:

You have to clean your scroll sensor. Dust/hair/etc. can block its work or it can wok in inappropriate way. You can refer to this video for how-to's. Video is about R.A.T 9, but i think it should be almost the same it fifth.

Solution 2:

Blow into the scroll whell. It worked for my Steelseries Sensei Raw.

This has been annoying me for months, and was fixed in seconds.

edit - stopped working again.

Solution 3:

I had a problem where it scrolls upwards slightly and then down whenever I scrolled the wheel down. I set the number of lines to a multiple of 5 and it worked fine.