Age difference

If I am 18 and my boyfriend is only 16 can we get in trouble that I’m pregnant?