Do not talk to unusual people. And throw your condoms wherever they get, where these foolish people can find them. The absence of sex is not contraceptive. Or pay for the foolishness of communicating with them, too.
It is ===
My husband’s friend 30+ years ago, when there was no DNA analysis and no talk, got into such a situation. He and the girl studied in the same group. He didn’t even communicate, he had someone to talk to, and with whom to sleep. But the girl decided that the son of the academician suited her, and went to his parents with a statement that she was pregnant with their son.
The boy really turned out to be hard, like a diamond, and many years later he did the same analysis and tweeted this certificate of his parents, who "but she could not invent all this! ", but it was a completely different story.