Determining the intervals over which a function is increasing or decreasing

How does someone determine the intervals over which a function is increasing or decreasing? What has to be true about the slope of the tangent in each situation (increasing vs. decreasing)?