It varies. You should think of your purchase as the beginning of a long (and hopefully happy) relationship with your local bike shop. This means you’ll probably bring your bike in a few times a year for servicing and repairs. Some shops include a level of service with the purchase of a bike; you should ask about your shop’s policy. You should also find out what the manufacturer’s warranty covers. Often frames are covered “under normal use” which doesn’t include damage from crashes. Finally, ask about whether the shop will help you navigate the warranty process or whether you’ll be on your own.