Welcome to the Community, I'm sorry to hear that you're having trouble syncing your remote to your TV.
I'd recommend resetting the remote and starting again, as it's very difficult to tell what part of the process it's become stuck on. You can do that by following:
There are some great suggestions about setting it up [here] too , setting your remote up using a code that matches your TV from [this list] is always a good method too
If you've got any questions, I'll be right here.
New around here? To find out more about the Community check out our Getting Started guide