In English, you shouldn't use contractions in formal writing. For example, in business letters or emails, essays or technical papers. A good general rule of thumb is to not use them in any form of academic writing unless you're quoting someone who has used a contraction in their writing. When speaking, they are acceptable in all cases.