There are a few reasons why your PlayStation 4 might be turning on and off randomly. One reason could be that your console is experiencing a power outage. If this is the case, you can try to reset your console by pressing the power button and then the reset button on the back of your PlayStation 4. If that doesn’t work, you may need to take it in to a store or service center to have it fixed. Another reason could be that something is wrong with your PS4’s firmware. If this is the case, you can try updating your firmware by going to the PlayStation website and clicking on the “updates” link. Once you have updated your firmware, you should then be able to play games without issue.