2006 Hyundai Azera won’t start

hyundai
azera

#1

car will turn over but not start , turn the key to off turn on after 3 seconds and starts right up this happens at no specific time some times not for weeks