Language is appropriate when it suits your subject, engages your audience, and blends naturally with your own voice.
To some extent, the conventions of the genre in which you are writing will determine your choice of language. When in doubt about the conventions of a particular genre—lab reports, informal essays, business memos, and so on—consult your instructor or look at models written by experts in the field.