Illinois Residents, Help!

Gwen

So I am 16, I will be 17 in March. My boyfriend is 18 and we are concerned that I may be pregnant. Age of consent here is 17. If I am pregnant, will my boyfriend be in any legal trouble?