While roosters can grow out of this kind of aggression, there's no way to guarantee that they will.
And, frankly, a lot of the methods I've seen for "taming" roosters---spraying them with substances, hitting them, etc----just seem like cruelty to me.
You need to be VERY careful as you go forward if you don't immediately cull or give away this rooster. They can do a lot of damage and you must not let any children around this rooster.
One thing that did work with one of my roosters, advice I read somewhere on here, was to look at the rooster and then "flap" your arms. You are then looking for the rooster to back away from you if you take a step toward him.
My other aggressive rooster, Bernard, I just had to very carefully manage him and always keep an eye on him if he was out. He has mostly aged out of aggression, but it took literally years. (He will sometimes give me a sassy peck on the boot, but nothing more serious than that).
But please take very seriously that this is a dangerous situation for you and for any other person your rooster can get to. It's not an exaggeration to say that a child could be seriously injured, lose an eye, or even be killed by a flogging rooster.