When you first get your hamster, it is important to spend time with them so they can get used to you and your scent. Once they are comfortable with you, you can start trying to teach them their name. The best way to do this is by saying their name often when you are around them. You can also try giving them a treat when you say their name, so they associate their name with something positive. Be patient and keep at it, and eventually your hamster will learn its name!