Planning to retire? Here’s what you should know beforehand