It's one of those silly things in life - if you have to ask the question, you don't have the skills ... But I'll give it a go anyway.
You have to desolder the existing charging port/microUSB port from the internal conenctions of the device and then solder a new one into place. This requires skill with soldering very small things and, even more importantly, skill desoldering small things.