Pepper spray is not a magic potion, and may not behave the way one expects it to behave.
I recommend getting more than one can of whatever product, going to some place where nobody will get hurt, and spraying a target. Test the stuff. Learn how far it will go, what the spray pattern is like, what may happen when some of it gets blown in your direction (even gel and foam may have some free mist) ...
Good advice.
There are instructional videos on YouTube that talk about that. How to practice, how to deploy pepper spray.
I should have mentioned that in my previous post.