Ganesha is that God in Hinduism who solves all problems. There is no problem that cannot be solved by Ganapathi. Here is a Malayalam mantra for solving family problems and also end fights between husband and wife. The mantra should be chanted with single-minded focus without having anger in mind. The mind should be pure like that of a new born baby when chanting the mantra.
ശുക്ലാംബരധരം വിഷ്ണും, ശശിവര്ണ്ണം ചതുര്ഭുജം
പ്രസന്നവദനം ധ്യായേത്, സര്വവിഘ്നോപശാന്തയേ
The mantra should be chanted 108 times. During the period of chanting the mantra one should show patience and avoid all kinds of confrontation. Focus on your work and keep chanting the mantra. The mantra should be chanted facing northeast in the morning during sunrise and in the evening just after sunset.