Visit dealership, get your car scanned, they will check for fault codes and then do the required maintenance. From the limited info that you gave here, it seems your CAMshaft position sensor might be faulty, it will be replaced under warranty for free, but you'll have to visit dealership and get DTR raised (Defect Technical Report), only then company will approve warranty claim and issue parts free of charge.