To stop him from attacking you again, you need to establish yourself as the top rooster. One way of doing this is to never let him mate when you are around him. Also, if he tries to attack you again, pick him up and carry him around nestled in one of your arms while you feed the chickens or etc.