first:  I don't think that there is any easy way . The United Nations could send peacekeepers into the country . At least then the warring parties could be forced to negotiate . 
second:  So , if the cause is poverty , there should be a program to make the country richer.If the problem is resources , share them . 