Girls are particularly concerned about whether their boyfriends really love themselves, so no matter what you do, you should spoil and love her. Apologizing in front of the girl you like is not without dignity. On the contrary, you can see that you are a good person. If your girlfriend likes eating, then when she is angry, you can quietly go to the kitchen to cook her favorite food and make her happy.
Maybe you had a fierce argument and you slammed the door and went out, so just stay outside for a while and then go back and apologize to her in the way she likes. She won't be angry. Or you can lock yourself in the bathroom and let your girlfriend calm down first. You can wash her dirty clothes. She will feel your love for her.