Set-up (Programming) procedure is too much to type in here, and is not practical and it will differ brand-to-brand remote controls. If you wish to get more; check the sites linked here. It has set-up code list & set-up procedure to many popular brand remote controls. One among it has general set-up codes to check with TVs and other devices are given, in the order of the 'device's brand name list' in alphabetical order. Pull up older posts. Search the sites by type in the brand name to your device in its search box at the top right part of the display window. It will help you to find the document easily.
https://homenol.blogspot.com/http://remotesearch.blogspot.com/http://electronicshelponline.blogspot.com/http://electrohelponline.blogspot.com/
Test the power to the outlet first. You can simply plug your phone charger in and see if you can charge your phone. Assuming the outlet is fine...
If it's a universal type of cord (one that doesn't need to be specially ordered), get a new cord and try that.
If that doesn't work, you'd at this point need to consider either taking it to a TV repair shop, or get a new TV. I'd recommend a new TV because there's very affordable brands like TCL.