I try to use it on many types but it never works, so what types does it effect?
The reason it doesn't work is because is because it has a low accuracy. But the only type it doesn't affect would be Ghost types. And you need to be a higher level (or then same) than the opponent.
Hope this helps :)