2012 Hyundai accent

Hyundai Accent
Drove through water, car stalled. Air filter was soaking wet. We replaced air filter and changed the oil (no water in oil) but car is ticking, what should I do?