What to do when your hamster gives birth?
You mean you don't know this?
Well, that would be why you're asking, now wouldn't it?
First off are a few helpful hamster care tips. All breeds of hamsters are different not only by size and color but by their level of aggressiveness or tendency to be be more mellow and sociable. The best way to raise a happy and friendly rodent is to acquire it when it is still very young and will grow to an adult during the socialization and handling. (Rodents must constantly be handled and cared for!) If you are sure you have a female hamster (which may be determined by carefully looking at the genital region) it is best to keep her in an all female environment, if you wish to have more than one hamster and do not want them to breed. However, that does not answer the question.
If you do want to breed your hamsters, or have accidentally bread them, it is important to separate the hamster, lest the male will attempt to harm his offspring, even eat them! Such distress caused by the male hamster may also cause the female to not only attack the male but harm her own young. After separating the hamsters, the female may become aggressive towards her owner and this will probably fade as long as the owner has constantly socialized and handled the hamster prior to the pregnancy.
After your hamster has given birth it is important to get both the mother and her young use to being handled again by the owner, as the aggressiveness of the mother may prevent her being handled while pregnant. Normally, waiting for the young to open there eyes is a safe time to start handling them. (Do not treat the young as grown hamsters! They are extremely fragile and will sleep often, even in your hands.) When the young have reached an appropriate age (a few weeks) the males should also be separated from the mother, if you wish to breed your female again then the female offspring should also be separated from the mother and kept in a separate cage from their brothers to prevent in-breeding. Do not reintroduce the young to the mother (especially if she is pregnant again).
If everything goes well, you will have many happy and healthy hamsters.