We will need to know your entire set-up... P.C. brand..processor speed...ram...graphics card.... etc But for starters while this problem is taking place hit Alt>Ctrl>Delete, choose Task Manager and see what programs are running in the background


HP 17 2.5GHz seventh-generation AMD A12-9700P quad-core accelerated processor
2TB 5400 RPM SATA hard drive
12GB DDR4 SDRAM
Windows 10 Home (64bit) w/DTS Audio