To answer that question, you'll have to test your water regularly. As you may or may not know, a new tank must undergo the nitrogen cycle. You need to introduce ammonia into your tank, from either a hardy fish, like a damsel, or from raw shrimp you can throw in the tank. Raw shrimp, you'll only need a couple, are most easily found at a grocery store, and are greenish brown in color typically. Orange ones have been cooked.
After a few days/weeks, you'll be able to see a brown diatom bloom on the rocks and substrate. This is completely normal and a sign that your tank is progressing properly through the cycle.
The cycle takes anywhere from a few days to a few weeks, but usually it takes about a month. You'll either want to test the water yourself with a test kit, or bring a water sample into a good LFS (local fish store) where they will test the water for free.
Your water will be safe for beginner fish and inverts after the water parameters test ZERO for ammonia, ZERO for nitrite, and andywhere from ZERO to 30 for nitrates. Ammonia and nitrite are highly toxic to most things that live in the water, and nitrates are toxic as well, but usually only in higher quantities.
Hope this helps, and keep us posted!