To learn about the condition of your PSU, you should try other PSU on your computer and check if that's working or not. Alternatively, in case you have a multimeter or power supply tester available, you can easily check it with a multimeter or power supply tester.