Need help with shadow artifacts

Hey, i get these weird shadow artifacts. ive been trying for a while now trying to figure out whats causing this but not luck.i was wondering if anyone have any ideas on how to fix or remove them?

I fixed the problem, idk what i turned off or on but here is how i fixed it. i went to project settings and then rendering tab (in the project ur working on). then i opened another third person example project and went to project settings rendering tab there. after that, i compared my main project settings and the other project settings. i turned on/off (on my main project) what the other project setting had that i didnt have equal.