Public Transportation Directions

How do I get the public transportation directions to work as well as walking, driving, biking etc.?