You go on lots of dates.
Of course, that's no guarantee - I belong to a religion where dating is a thing, and we believe marriage can be eternal, so there is a big emphasis on dating. And during my college years I was in an apartment of 6 and it seemed like every semester I'd have an engaged roommate - and I went on lots a dates, but didn't get married until I graduated.
So, yeah, go on lots of dates, and you might get married early. If not, don't sweat it. Just make sure you marry somebody who will work to have a good marriage.
note: I (and my culture) are definitely outliers - we tend to go through the courtship process relatively fast - I married my wife about 9 months after first meeting her.