how can you tell that the media were sterile?

What media? Micro what? This sounds like a question from a lab experiment you were supposed to perform. We need the details