Try turning off the laptop (off, not sleep or hibernate) and then start it up in "Safe Mode". While you have limited access in that mode, you can test if the screen and mouse continue to do this. If they don't, then you have something on the laptop that is causing it. Bad program, malware, virus, etc., that you will have to remove to fix the issue.
If, however, it continues, even in "Safe Mode", then it may well be a hardware issue.
How to enter "Safe Mode" when booting the computer.
In Windows 8 and 10...
As your computer restarts, press F8 (possibly a few times) to enter "Safe Mode"
a. Press the "F4" key to Enable "Safe Mode".
(The computer will then start in "Safe Mode" with a minimal set of drivers and services.)
b. Press the...