This question is so rediculously vague that you wont get any great answers. Try posting some situations where you're dealt 22 and we're confused and ask for some more specfic advise.

If you're just talking pre flop here's what I generally do with 22.

This is 6 max btw:

Open in a tight or standard game from all postions (unless there are shitloads of shortstacks)

Fold UTG or sometimes MP if a game is very loose or 3 bet filled

Call raises in position to set mine if we have enough implied odds (the guy's full stacked or close to it)

Sometimes I'll limp behind a limper(s) if they are unlikely to fold to an isolation raise.

This is a very general summary and prolly not much help so be more specific!