If you are trying to change a pet's mood in the Littlest Pet Shop game for the PC, the blunt original answer was to close the game and never play again. That, of course, is said in jest.
In practice, mood in these games is usually managed through in-game actions like feeding, playing, or caring for your pet, so look for those care options rather than expecting a direct mood switch.