My Samsung galaxy grand 2 is giving me a lot of problems

I own a Samsung galaxy grand 2 phone and lately, it has been giving me a headache. Every time I access apps like Whatsapp, it just restarts. Games also face the same problem. I have never rooted the phone and not even done anything off the books with it. What could be the problem and how can I solve it?
