Everyone needs to be accountable for their actions and behavior. There are far too many people who try to shirk their responsibilities and try to blame someone else or something else for their words, actions and/or behavior.
An excellent start to taking responsibility for your own behavior is to make sure you understand the consequences of your words and actions. Understanding the consequences and accepting the consequences are two different issues. Understanding them means that you are aware that if you engage in certain behavior, you could expect that there may be certain consequences attached. Accepting the cost of your actions means that you agree and are prepared for the consequences of your actions, whether the consequences are good, bad or indifferent.