You can prevent onchocerciasis by preventing the black-flies from biting you during the day. The best prevention is avoiding being bitten by infected black-flies by using insecticides that contain chemicals that will not harm your exposed skin, wearing long sleeve shirts and trousers.
Attribution: Avallain