Cherry tree to bear fruit
You did not mention what type of cherry tree you have sweet or tart.
Sweet cherries begin to bear in 4-7 years. Tart cherries 3-5 years. Your tree may be too young to bear.
Also, most sweet cherries are generally self-unfruitful and require pollen from another variety within 100 feet to produce a good crop. There are some that are self-fruitful. Ornamental flowering fruit trees may provide needed pollen for good fruit set if their bloom period overlaps with the fruit trees. http://extension.umd.edu/hgic/plants/stone-fruit-selection-and-planting
See other reasons for failure to fruit under common problems http://extension.umd.edu/hgic/cultural-and-environmental-stone-fruit