To change your pet's name in Little Pet Shop, go into the house on the left and click on a pet.
An option will appear that lets you change the pet's name. Select it, enter the new name you want, and confirm, and your pet will be updated.