The first thing to do is establish a budget Then, educate yourself. Know what size frame probably fits you. Know what kind of frame material(s) and parts will fit your needs. Understand what make/model of parts are better than others. A good frame with mediocre parts can be upgraded into a good bike. A mediocre frame will always be mediocre, regardless of the parts.
__________________
"Swedish fish. They're protein shaped." - livedarklions