CPU usage 100%, can't find out why

Jan 13, 2019
18
0
10
Hey, so prior to yesterday, my computer was running fine when I played games. GTA was around 80% and Fortnite was maybe 50% or something like that. Fortnite started lagging for some reason, so I checked task manager and my cpu was running at 100%. I ran GTA later and that was at 90% so I cant tell if it is a game problem or a CPU problem. I just did a computer scan and 0 threats were found.

Specs: i5-660K
RX 480 Strix
Asus z170-e
16 Gbs RAM

Anything else needed please let me know. Thank you for your help.