We tend to use don't in speech and informal writing. In formal writing, it is better to use do not. This form would also be used in legal documents and official signs - DO NOT ENTER. Do not open this door. You would mainly use do not in speech if you wanted to put emphasis on the imperative - Do not go out without turning the iron off. A parent telling a child off, or someone giving instructions might use do not in speech. Otherwise, don't is more common.