how does surrogate works?

I was thinking a lot to be a surrogate for someone else who can't have kids. And I was thinking how does it work? What you have to do? Does other people have to get you stuff like pregnancy vitamins or maternity clothes? I would love to help the families!