There's always more to be said on the topic, but I discussed this in Were there any archaeologists in ancient cultures? and Were there archaeologists and museums in the ancient world?