Infection can be prevented by avoiding sandfly bites through repellents or insecticides.