Fedora Linux Lag

Hi all! I am a dummy with Linux at this moment, so I don’t know how to explain it the best. I have sudden moments (2 so far, weeks apart) where the lag is incredible under even low load (4gb/32gb ram and 11% cpu usage), it will take about 5-10 seconds for the computer to even register I am moving the mouse. What could cause this? Is it a virus or just a quirk with running Linux? I haven’t downloaded any bad programs, just always worried. Thanks