That could be the case Debbie yes. Long term antibiotic therapy can sometimes be needed to clear up infections) if it is an infection) and sometimes a change of drug is needed, but your vet needs to look at that and decide if there is a more effective therapy for this particular issue. In women who bleed eratically, they are usually placed on hormonal suppression drugs like depo provera or a type of pill to either regulate or stop their menstruation. In female hamsters I doubt there is a gynaecological depertment!
I do hope your wee girl can be cured of this. x Don`t give up hope.