A little investigating at the beginning of your project can save you time and frustration at the end. Using stable file formats, researching if your repository requires a fee or has requirements for deposit, and sharing well documented datasets can all prepare you for successful long-term storage -- and future use -- of your data.
Furthermore, not everything needs to be shared or preserved! Iterative versions of your data or code -- while valuable to your process -- don’t necessarily need to be preserved. If a final, clean version of your data or code accurately represents information in your publication, that is what you should focus on sharing. Your final versions should be shared in stable file formats with an associated readme file.
Questions to think about: