FF3 help (reviving)

Got this game yesterday. Only played for about 1 hr. But 3 of my characters died (only have 1 left). How can I revive them? Tried sleeping at the INN and using the water spring thing. Neither of them worked. I'm guessing theres an item you have to use?