Welcome to Fishlore.

What COBettaCouple said is excellent advice. It may be difficult to get the store to take the fish back, so we should cover other possibilities, as BettaCouple did. Taking the molly back, at the very least, would be a good idea, as mollies get to be kinda big for a 10g tank.
However, reading about
The Nitrogen Cycle, doing your water changes, getting a heater, and using Prime (or NovAqua+, or Ultimate, depending on what's available in your area) is important.
Also, if you have any friends who have aquariums, see if you can snag a piece of used filter media from them. Put it in a plastic bag straight from the filter, and keep it in a little bit of treated water (or water from their aquarium), and put it in your filter. If it doesn't fit, feel free to cut it into a size that does. The important part is to get the bacteria into your filter. Borrowing a decoration (particularly a fake plant), or getting a handful of gravel and putting it in a nylon stocking would work, too. You might be able to get something of the sort from the pet store, as well.
Good luck with everything and keep us informed.
