My docking port/charging port hardly works. How do I replace it?

Charging/docking port bent and aout of shape. Cant get a good connection for data or charging. How do I replace or is there any other solutions?

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 2
crwdns2934285:0crwdne2934285:0