Keep getting critical process died

Iv had my pc for about 2 weeks and iv had a reoccurring issue when lanching windows and getting a critical process died blue screen. My pc worked fine for a few days and was working fine the past few days but just like a week ago i am again not able to launch windows without getting the blue screen, im able to fully go into safe mode without anything happening im not having overheating issues because if it does work itll work all night and it was having the same issue last week but stopped for a few days before coming back again. Could it be a lose cord or something please help if you can