How do non motor boats go up stream?

How do non motor boats go up stream im talking sailing ships new or old 1500s to today. if i was traveling to deliver supply s down stream how would i get the boat back to the start
11 answers 11