Also, please, please go to the vet and get antibiotics. Over the counter stuff is NOT enough, and often only masks the symptoms temporarily. I have no idea why so many people on this board just refuse to go to the vet with their hamsters. Wet Tail is a bacterial infection that can be cleared with antibiotics and palliative care. I've had dozens of hamsters come down with this in the rescue, and we've never lost one.
We are as gods to the beasts of the fields. We order the time o' their birth and the time o' their death. Between times, we ha' a duty. - Terry Pratchett.
"Men have forgotten this truth", said the fox, "But you must not forget it. You become responsible, forever, for what you have tamed. - Antoine de Saint-Exupéry