Import Data to Garmin

I'm looking for a way to import my past workouts from Coros or Training Peaks to Garmin. All tips will be greatly appreciated. TYIA

Edit: I figured out how to download the files from Training Peaks, but I can't seem to upload them any information on how to do that?