Hi @denmar1 ,
Here’s a [https://www.youtube.com/watch?v=juuB8ch2GJc|video] that shows how to replace the [https://www.gadgetparts.com.au/product/nokia-7-1-charging-port-flex/|charge port - example only] in the phone.
Replacements are available online. Just search for ''Nokia 7.1. charge port'' to get results for suppliers that suit you.
If doing this yourself seems too daunting, contact a reputable, professional mobile phone repair service and ask for a quote.