If you are under age and you get pregnant can you marry your 19 year old boyfriend?

If you are 16 or older and have parental permission, yes you can get married.