Loose cable

How can I get a new charging cable it won’t connect to charge?