How does one maintain the warranty?

By performing required service at the proper intervals and responding if something clearly goes wrong. Your owner’s manual explicitly lists service intervals, although cars are often equipped with “check engine” dashboard lights that signal needed maintenance. Check your vehicles maintenance guide to determine your vehicles needs.