Fruit plants will not give fruit until they have become established in their planted spot. Each kind of fruit will vary in its establishing time.
Most fruit shrubs (honeyberries, gooseberries, currents, grapes, ......) will give fruit in the second year after they have been planted. Cherries may take 3 years to give fruit.
Apple & Plum trees will range from 2 - 4 years.
Pear trees can take up to 5 - 6 years.
If you keep the soil around your fruit plants black (free of weeds, grass etc.), fertilizer, and water them regularly this will speed up their establishing process. It will take a plant much longer to settle in if they are fighting against weeds, don't have enough moisture etc.