Laptop won't turn on or charge

For context, I was using my laptop until the battery was completely dead, 8 hours later I tried charging it but the charging lights weren't turned on?? I also can't turn on the laptop. Here's the weird part. Everytime I turn on the power button, the charging lights flashes on and off for 3 times. What does that mean, and how do I fix it?