It is prohibited to deliberately ejaculate in the day during the month of Ramadan. One must make it up and pay the kaffara. If ejaculation was by a prohibited act such as masturbation, then the kaffara is triple, i.e. one must feed sixty needy people and fast two consecutive months and free a slave. Since the latter is not possible nowadays, it is obligatory to do the first two. If ejaculation was by a permissible act, e.g. by intercourse with his wife, the kaffara will be to either feed sixty needy people or to fast two consecutive months.