First, it depends on your budget. If you can spend a little more on the bike, you can consider buying a full-suspension bike. Other than this, you can decide according to the trail. For smooth trails, you can choose a hardtail bike and for technical trails, you can use a suspension bike.