Chosen Solution
I turned of my iMac and unplugged it from the power socket.When I plugged it back in and pressed the power button nothing happened.then I searched on google and other sources like unplugging the power cable from behind for 15 seconds and so on, and it still won’t turn on. So what should I do now?
Your power supply would be the first thing I would look at. Are you able to repair your system? Maybe its best to find someone with the deeper skills and have access to the needed parts.