Can't be prevented. It's the way we Pakistanis are. Never organized or following any rules. The same problem is faced in many African countries.
If you regress the reason why this happens in some countries and doesn't happen in some other countries, I guess the common factor would be Literacy rate. Aparently, countries with low literacy rates pay little or no respect to moral standards or ethics.
It also has to do something with the genes. The nationalities/cults within Pakistan (Punjabis, Pushtoon, Sindhi and Balochis) are not the most obedient, subservient people that you can find. Need a strict 'danda' to do what is morally correct and a justice system where there are no exceptions for anyone, no matter how powerful that person is.
Since this can't happen in Pakistan, so I'm afraid there's no solution to the problem you mentioned.