When you realize the female is pregnant, remove the male to another cage. When the babies are weened, seperate them by gender, as they will try and breed.
Know the genetics of your rats parants? Make sure they are both healthy so you know you have healthy rats. Make sure you have a reliable vet and the money incase of breeding complications.
Different types of rats, some rats cannot breed with other species of rats. Do not breed when one is sick. Void breeding mothers who are older than one year.