Check the setting in System Preferences > Universal Access > Mouse & Trackpad tab > mouse options.. button > check scrolling.
If you have an older mouse with the trackball, it might just need cleaning. Turn the mouse over and rub the trackball vigorously on paper or microfiber cloth.
Regards,
Captfred