The medals are used to recruit heroes. Each hero requires a different number of medals.
You can find medals in each dungeon and Mr Wing is also selling them. Once you have enough medals you can recruit the hero at the Pirate Inn.
Once you have recruited the hero, keep collecting his medals you will need them to evolve your heroes.