Computer constantly freezes randomly even after changing PSU

Hi there,
When I try to use my computer, it freezes at odd times. I suspected the problem to be the power supply or overheating. However, I eliminated overheating and replaced the power supply but the problem persists. Anyone with the solution?
I would be very thankful.
