ugh need some advice plz

so my dog bite a woman walking today ugh my kids open the door up and he ran outside to her i think he accidentlly did i think he just nipped at her like he usually just barks at her when hes on the chain outside to use potty and he went up to her before fine... hes a great dog but idk y he done that... i feel shitty tbh...