A quick swim check: can you swim 400 m without stopping? If not, spend the first weeks on technique and swim endurance. For adult-onset swimmers, a few lessons usually do more than hundreds of metres alone.
Transitions are where first-timers lose the most time. Rehearse them at home once or twice: helmet, goggles, shoe order, race belt. Elastic laces are a small investment that can save minutes in T2.