Laptop’s Battery acting Strangely please help.

I am using ASUS Laptop. Recently my Laptop's battery has started acting strangely. Even though charger is well connected to Laptop, it doesn't charge. Even if battery is low, sometimes when I start Laptop, error message regarding battery occurs, but it goes away itself? Can you suggest any solution for it?
