To stop your hamster from biting, approach it with slow movements to avoid scaring it. Even after your hamster is used to you, sudden movements can startle it. Talk to your hamster in a friendly and soothing voice to help it recognize you. Offer treats to create positive associations. Be patient and give your hamster time to trust you.