Understanding each part of your federal retirement can help you plan when and how to retire and avoid surprises.