So in other words, making the mistake of not studying is without a doubt a deadly mistake. But unfortunately, the fish stores a lot of times are just in it for the money, and dont explain anything to the buyers. So take the fish back, buy a test kit, and let the tank sit there until you know about the fish you are about to buy, it should be at LEAST another month of research on the following:
CYCLING
Filtration
Skimmers
Salinity
Live Rock
Sand [substrate]
Saltwater Ich
Quarantine Tanks
Reverse Osmosis water systems
And most of all, the animals you are buying! Browse liveaquaria.com in the beginner section of marine fish, and those are the only ones you should be thinking about keeping so far. Read the info they have on them, and then look up as much information as you can find, and decide between the differences of what different people say, what you think is right.
But I wouldnt reccommend buying fish online. Id go to a fish store [anything but petco!] and examine the fish for any signs of disease, and make sure they eat normally, although this shouldnt be a problem with beginner fish. To pick a store, Id go in, try to remember the selection of fish they have, go in the next day and then a few days later and so on. See if they have a good survival rate, or if you think that because of how busy they are that the fish could be getting bought. But if it is an abnormal number of missing fish, and it isnt such a busy place, then they may not be the best place to go to.
Keep in mind that this is not an inexpensive hobby. A good filter is about 100 dollars, a skimmer anywhere from 100-200, salt is about 40 dollars a bucket, live rock is about 6-9 dollars a pound, sand is about a dollar a pound, and a RO system is 100-200 dollars. Lighting for corals can be anywhere from 250-400 dollars on average, and powerheads [if you plan on keeping corals] are like 30 dollars each, and you need a few.
A quarantine tank is essential to make sure fish you bring home are in good health, and should be kept in a quarantine tank for at least two weeks. Consider the prices, because it is all essential, and read read read, then decide if you want to continue with the hobby.
It is such a beautiful and rewarding hobby once you get through the first part of setting up. The fish have such personality, and it is relaxing to watch the little piece of the ocean in your home that you have put together. Dont let the cost scare you if you really want it, and are willing to do your research!