For the most part you don't have to do anything — Moshlings are usually happy by default.
They're designed as low-maintenance companions rather than pets that need constant feeding and attention, which is part of the appeal for younger players. If one does appear out of sorts, the usual fixes are checking in on it and making sure you've collected it properly in the first place.