Ps4 Only Sometimes Turns on

I have a ps4 pro that will only boot up sometimes. I push the power button and the blue light pulses until it shuts off. But if I keep trying it will eventually boot up and I won’t have any more issues until it powers off again. Anyone know how to fix it?Any help would be great!