Answer:
To get a stalemate, you must get your oppenents king into a position where he cannot move without being taken (although not in check). Note that if somebody gets a stalemate, it is because their only remaining piece remaining is their king. You cannot use stalemate if they have and extra pawn, knight, bishop, rook, or queen.
And you can also get stalemate if the only remaining pieces is both of the kings.