Chosen Solution
The part where u plug the charger in on my phone is broke, and the phone is not under warranty, so is there any way i can fix it myself?
No, replacing the charger port requires soldering a new one off. You’ll have to take it to a phone repair shop to get that replaced.