You can reset an Amazon Firestick to factory settings by opening the My Fire TV menu, or by using a button shortcut.
To pair a Firestick remote with your Amazon Fire TV, you can use the "Home" button or the TV's settings menu.