Why does my Inspiron 15 5000 black screen and boot loop?

Left my laptop charging and downloading a file, when I returned I found that the laptop was off, tried turning it on again and now the charging lights are blinking 3 amber and 1 white and then it just bootloops after.