You should wait until the price drops again and buy it then. All is not lost for you yet.
Whenever the market corrects a bit put a certain portion of money and buy it. So always divide your money in such a way that when you get the next dip you have something left to buy more. Do not invest all in one go when the market is near ATH. Plan accordingly so that you do not end up buying at higher price point and then must wait for long years in order to recover.