Medical insurance is a major factor to consider before retiring.