Most contractions are just used to represent the way we speak, so use them only for casual writing. When you are writing a business letter or an essay for class, use the full form (
do not, I will, etc). There are some contractions, however, that have no current full form, like
o'clock.