Sion12 C Hey bud,
Assuming you got the device and there was no prior damage to it I would consider booting it up in safe mode as well to see if it could be a software bug/hiccup that’s causing it. I’ve seen that happen a few times with a couple of different S20 line models. If it still does the same thing in safe mode and you verified that it is not being caused by the OS or other software then I would recommend what the previous post says to do.
Given if it’s not software it sounds like the cause would be a mismatched charging module. Definitely make sure to get one that matches the model number on the device. Also as Tyler said below it wouldn't hurt to order new flex cables as well as a new wireless charging circuit too. Another thing to consider would be to re-seat any of the internal connectors and make sure everything internally has a nice solid connection too.
As for glue, if you are referring to the back adhesive that comes on the back glass I would say order a new set of adhesive strips. Many vendors that carry OEM Samsung back glass replacements normally offer the OEM adhesive strips for purchase.
Hope all works out for you!