sunlight is usually enough to melt chocolate, something you might have unfortunately already experienced. You can also reverse the process by putting the melted chocolate into a fridge or freezer where it will go from a liquid back to a solid.
this same principal goes with chocolate bar/anything that melts or reforms