buying a car a 10 year warranty and 100,000 power train it’s Hyundai I plan on keeping this for ...

buying a car a 10 year warranty and 100,000 power train it’s Hyundai I plan on keeping this for a every long time more than 10 yrs unfortunately 100,000 miles comes first my question is when to i buy the extended warranty and Also a 5 yr 60,000 bumper to bumper is there a extended warranty on that and when is it a good time to one if I buy when get the car does take effect after the original warranty expires? Please Help