Unless you have specifically chosen something like "on-site warranty repairs" when you purchased your laptop (usually and additional cost), then you must send it to the brand's repair center for it to be repaired. The amount of time necessary to repair it varies depending on how many other laptops need warranty service. It can be anywhere from 2 weeks to 4 weeks. You will likely need to pay shipping as well.
If you cannot be without your laptop for any extended period of time, then your only course of action is to bring it to an electronics repair shop. This will void the remainder of your warranty though because it is considered an unauthorized repair.