Divorce LAw

Most of the girls and boys are interested in each other in this era. And sometimes they get married to someone else due to their family pressures, but later they do not forget about there past and does not manage their lives in a proper manner just like they are supposed to or as a husband some one expect from his wife and suddenly no compromise causes failure of a good happy married life or soon it will end up in divorce or girls escape. Is there any law regarding this or what could be the best solution for this issue?