Chosen Solution

i plugged it in and let it charge all the way up when i took the charger out the piece that holds it in came out with it what do i do

destenyanndavis14, you did not tell us which tablet you have. It stands to reason that your charging port has either become unsoldered and by pulling the cable you removed it off the board or a charging flex. Either way, you will have to try an open your tablet to determine how it is fastened in the first place