This depends so much on your nationality and any agreements between your countries — for us it came down to a specific route for pensioners we'd never have found without asking. The Healthcare and Insurance sections flag which routes exist; check yours, ours surprised us.
Back home healthcare was tied to work. Now we're retiring to Spain and I genuinely don't understand how we're covered as non-working residents. Private? Some agreement? How did you sort this before you moved?