Have you tried plugging it in to charge while the laptop is turned off to see if it will then?
If the laptop will run when plugged in, but isn't charging and won't charge even when turned completely off, then you probably need the battery replaced.
If it won't even turn on with the charger cord plugged in, you may need a new cord as well.