It's easy. Have a budget, know what kind of riding you want to do, go to bike shop, talk with salesperson, buy bike. A good shop will first ask you what kind of riding you want to do and what your budget it. A good shop won't try and sell someone who just wants to ride around their neighborhood a carbon road bike or full suspension mountain bike.