for queries such as this it is essential to provide the make and full model number of the device concerned.
Can you borrow a known good battery and see how it charges in your phone.
If problem persists, borrow a known good charger, but try with your battery first.
If no luck, try with the good battery.
This is fault finding using the process of elimination.
Please advise back on progress.
Good Luck - Keep us posted.