Do people these days get pregnant by hookups or their boyfriend they have known for 2 months?

I see it a lot on tik tok. Is it common for this to happen and is it ok to get pregnant by a hookup?