I'm getting to grips with my DSLR and still shooting in auto.

I find though, that if I take a picture with more than one person in it, only one person is in focus. How do I fix this to get both people in focus?

I can post a picture if I haven't written in clearly enough.

Thanks guys, I'm a total novice at this photography business.