You've received some good advice here. I echo the advice to do a practice run once, with the pepper spray. Maybe you can find someone to ride with you once, to test it out?
I do a lot of rides...