Talla, tamaño and medida all refer to size and what it is.
Talla is used to describe how tall a person is or what size shirt or pants you wear.
Tamaño is used to describe what size soda or french fries you want, large or small.
Medida is the measurement of something, how long your couch is for instance, or the volume of soda in your cup.