What steps should be taken to have basic / improved sanitation facilities in developing and under developed countries?

What steps should be taken to have basic / improved sanitation facilities in developing and under developed countries?