Chosen Solution
I upgrade my iMac to an SSD and once it boots up after minutes during use it will freeze completely and will not be responsive to anything. I have enabled TRIM settings but find that it is still doing the same thing. What comes next?
Sorry actually I figured it out apparently I just needed to do a complete wipe of all data and reinstall the OS in recovery mode and now everything is good !