Hi,
Sounds like the battery is failing and needs to be replaced?
Please verify the make and model number of your tablet?
If it is the model as shown on this page, click on the device icon (top right of page next to your question) to find the ifixit guide for how to replace the battery.
Replacement batteries are available online. Just search for ''RCT6773W22 battery'' to get results for suppliers