How did Medea help Jason steal the Golden Fleece?

Suspecting her father would do something evil, Medea informed Jason and agreed to help him steal the Golden Fleece, only if he took her away with him. Jason consented to take her away from her father and also to marry her. The Golden Fleece was nailed to a tree in a small garden and guarded by the Sleepless Dragon.