How to replace broken cigarette lighter plug with usb

After my daughter tripped over the dashcam wire and ripped it out the socket i decided to swap it to USB