How old does a hamster have to be to have babys?

a hamster can become pregnant at 5 weeks old.