What happens if a woman becomes pregnant while in the military?

Most of the time, she gives birth and goes on with her career. There are some limitations on specific duties a pregnant woman can be assigned to, depending on how far along the pregnancy is, and these limitations change. For example, in the 1960's, if you got pregnant, you were discharged, period. Today, most restrictions concern working in or around hazardous areas or materials, and when a woman is removed from sea duty prior to birth. Other than that, no real difference than what happens when a civilian woman gets pregnant.