It doesn't make you a bad person.. it means you might have done a bad thing (I don't know what you said). You should apologize and try to understand what made you do something that is now causing you guilt. We all have negative feelings towards others. It's normal. it's your reaction that counts.
I always say that in a year nobody will remember how you felt but they will remember how you reacted. You might remember how you felt but it won't be burning on the inside like it was. It will almost seem like you are watching a movie when you think back on it. Think about things that might have angered you long ago. Are you driven by it now? Have you gotten over it?
Remember the future and it will guide your actions today. Preserve the future. Don't let a moments anger destroy who you are. And don't let other people control your emotions. You control your emotions. Don't give that away.
The mark of a mentally healthy person is the ability to accept present frustration for a future gain. Deferring your anger or diffusing it somehow is the present frustration. The future gain is the avoidance of regret and personal growth. Plus you won't have hurt someone either.