You use the Stroke panel (Window > Stroke) to control whether a line is solid or dashed, the dash sequence if it is dashed, the stroke weight, the stroke alignment, the miter limit, and the styles of line joins and line caps.
You can apply stroke options to an entire object, or you can use Live Paint groups and apply different strokes to different edges within the object.