car shutting down randomly

thanks, could you please be more specific on where to look?
Also like I said its random…and if the car was driving fine, i park it and come back to it after it “was” driving fine, sometimes the car problem would arise, (starting) even tho the car was not moving?