Summarize this article:

Unlike other larger pets, hamsters can have free access to food and water up until surgery. Prior to surgery, continue to feed your hamster as usual and provide it with plenty of fresh water. On the day of surgery, prepare a package of your hamster’s normal amount of food. Bring this food with you to the vet, along with your hamster’s water bottle. Because of your hamster’s small size, your veterinary team will be extra careful to monitor your hamster during surgery. After anesthetizing your hamster, they will monitor its body temperature, breathing rate, and heart rate. They will also give your hamster fluids so it remains well hydrated during surgery.  Your vet will make an incision and carefully remove the tumor. After the surgery, either your vet or a member of the veterinary team will call you to let you know how the surgery went and how your hamster is doing after surgery. They will also let you know when you can come pick up your hamster. When you pick up your hamster, your vet will give you a set of instructions on how to care for your hamster at home. Make sure to follow these instructions carefully to help your hamster recover after surgery. Before heading home, ask your vet any questions you may have about at-home care, including:  How long will it make my hamster to recover? What if my hamster looks sick? Will my hamster need medications?

Summary:
Feed your hamster food and water. Have your vet perform surgery. Pick up your hamster.