Carlos Sainz said he should not have openly criticised Ferrari during the Monaco Grand Prix on Sunday.