This is an Interference engine and when its out of time the valves will hit the pistons and it will not continue to turn. You need to have a shop take a look at this before further damage is done. You can get a estimate here https://repairpal.com/estimator/hyundai/sonata put in your vehicles info and choose timing belt and you can locate a shop here https://repairpal.com/hyundai-repair-in-waco-texas
RepairPal Certified shops can diagnose and repair your 1998 Hyundai Sonata. They provide transparent pricing with a minimum 12-month or 12,000-mile warranty on repairs and services.