Could be touchpad misbehaving. Could also be a defect of the mouse. You can try unplugging/replugging the mouse, trying a different mouse or reinstalling the drivers/software.
Sounds like a touchpad issue to me though. Make sure the touchpad is not being touched/clicked by mistake. If possible, disable the touchpad (some laptops have a button for that too).