Marriage is not something that is for everybody at any time in their lives. In other words, it is something that needs to be prepared for. Too many jump into marriage just because they love one another. But it takes a level of dedication to make a marriage last that frankly too few exercise.
If you're considering marriage, then the first thing you need to do is take a good look at your life and make sure that you're ready to have another person in it full time, not from the perspective of loneliness, but from the perspective of responsibilities.