Codling moth can be controlled by several insecticides. Timing is critical since the larva are only vulnerable from egg hatch until entering the fruit or nut. Always read and follow all label instructions.
For low populations, mating disruption can be a viable option. The idea is to blanket the orchard with pheremone so that male moths cannot find females and mate. The unmated females then die without producing any eggs.