I tried making OneDrive stop synchronize my files and checked ransomware and that solved it.

Though I did also check ransomware to make sure that it wasnt the problem either