In most cases, you don’t need to have your ticket or accommodation booked before applying for an ESTA.