If sperm is discharge unintentionally and then breaking the roza thinking that the discharge of sperm has invalidate the roza. In this case kafara is wajib or not?

You have to do qadha of that day's fast after Ramadan al Mubarak.