Read this article and learn how important it is to choose the right register when you speak or write in English. Generally, you are expected to use the semi-formal style unless you're asked to write a formal text such as a letter. Even in that case, at this level you can still use semi-formal English -with no contractions!
Formal - informal English