How does a Mortgage Broker get paid?

I figured my first post should be an education on how mortgage brokers get paid. Why? Why would you care how I get paid to do what I do? Because many people are STILL under the impression that Mortgage Brokers charge fees. Do I charge fees? Sometimes. When would I...