How do I stop being so impulsive with posting on twitter?

Impose limits. Something like tweeting is, in theory, easy to control: limit your access to the technology needed to engage in it. If this is your only area of impulsivity, it may not be a problem. If it's a symptom of similar problems in other areas of your life, seek professional assessment with a psychologist or psychiatrist.