Ramadhaan & Fasting

Mazi coming out while fasting

Q: My question is during one Ramadhaan while fasting my wife accidentally sucked my private part (wife was not fasting) out of excitement. I immediately withdrew. But after that there was a seminal discharge. I heard in such a case the fast is broken. Please tell me what is the sharia'h ruling in this case? 

Breaking one's fast through masturbation

Q: As a teenager I had a bad habit of masturbation, which I sincerely and deeply regret. The urge was very strong and I resorted to this sin even in the month of Ramadaan while in the state of Roza. I would keep the fast as usual, i.e have sehri, and abstain from food and drink until the time of iftaar, but on one occasion would commit this heinous sin. May Allah Ta'aala forgive me. Ameen. I need to know that what should I do?