Under this text, what happens to the fast after a wet dream?

Kitab al-Sawm: Fasting Hours, Invalidators, Qada and Kaffarah