Motherboard sparked but still works

Help my PC randomly turned off so I turned it back on and a spark flew out if the motherboard turned it off and I waited then I tried it again and it worked fine I need to know what should I do. The only thing I could thing is the problem is my psu us new and is the most recent change to my computer. Please tell me your advice
 
Back