Barney's right on. Things to consider:
1. Where is it. If it's in an agricultural area or next to a road, I would be very reluctant to use.
2. What kind of rock is it? Give it the vinegar test; if it fizzes, it probably is no good for anything other than livebearers or cichlids. I always run my rocks by a geologist friend if I don't know what they are.
3. Clean it up. If it's from a stream, boil it, bake it in the sun for a week or two, and/or give it a very thorough going-over with a stiff scrub brush to remove any aquatic critters that might be hitchhiking. I usually do the latter two.