If it works, not very well. There were some very small underpowered studies that showed promise. Then large RCTs were done and it didn’t work. Brazil would certainly not be in the situation it’s in right now if ivermectin cured covid.
https://www.gavi.org/vaccineswork/ivermectin-why-potential-c...