When you're ready to retire, there are a few things you need to know.