The best way to keep your sixth generation (2017, 2018, 2019 & 2020) Hyundai Elantra running reliably is to regularly change the motor oil and replace the oil filter on the Nu MPI 2.0 liter Atkinson cycle inline four cylinder engine. Check out my DIY tutorial for the procedure (with the correct oil viscosity and the compatible replacement oil filter part numbers) by clicking on the text link or thumbnail image below.
2017-2020 Hyundai Elantra Nu MPI 2.0L I4 Engine Oil Change Guide