Telling SO

Me and my bf mad the dumb choice of having sex after only two months, even though I've known him for two years, even only known each other in a intament way for two months, so I'm not sure how he will take it, since we are young, or how I could tell him I think I'm pregnant with him flipping out.