Sorted our specific healthcare arrangement before moving, while still in the home country where it was far easier to research and arrange properly.
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?