Hard to say with the given information. Your motherboard should have debug leds to guide diagnostics. It would be helpful to know which leds light up when you try and boot the pc. A quick guess of mine would be the bios version doesn't support the cpu. B550 boards came out before Ryzen 5000 was available, if you bought the motherboard early and never updated the bios, that could be the problem. However, if it's like it sounds and your cpu hasn't changed, then it's probably not the issue. Another guess of mine would be the psu protections kicking in. With all the news of the 12vhpwr catching fire, it makes me think there might be a faulty connection making the psu shut off.