What kind of work requires a building permit

How do I know when I need a building permit?  What kind of license do I need?  Click here to get a list of work that requires a building permit and what kind of license is required by a contractor.