Safe sexual practices can prevent infection with HIV, which in turn prevents the development of AIDS and its complications, including Kaposi's sarcoma.