You can reset an Amazon Firestick to factory settings by opening the My Fire TV menu, or by using a button shortcut.
You can reset your Apple TV remote in a few different ways, but you should first try restarting the Apple TV itself.