Within dialog, of course they are used, unless your character is somebody more inclined to not use them. Outside of it, I try to avoid them, but if the flow is clunky and awkward, then you have to assess if a contraction fixes it, or is there a better way to express the passage without using it...