Perez has a seat secured on the grid until at least the end of the 2024 season, but says he will know when the right time comes to call it a day