Does wet-dream spoils fasting, and what is someone that had a wet-dream while fasting suppose to do? Can the person continue with the fasting?

Your fasting is valid,you are only required to perform ghusl.