age limit

I'm 16 & my boyfriend is 17 he turns 18 in august if I'm pregnant can he get in trouble?