iphone x won’t charge time to charge

iphone x won't charge allow iphone to charge