it depends. but if your girlfriend's over 18 years of age, and has finished studying, it's quite ok to have a baby. but it's better if you're married first.
but what if you and your girlfriend are both minors? uh-oh. that takes a lot of explaining to your parents and to other people.