There is no cheat code to reset Nintendogs. Use the in-game menu:
Alternative: If the game freezes, hold the console Power button to force shutdown (unsaved progress lost).
Always save before quitting to avoid losing progress unintentionally.