What happens when you get pulled over?

Just got pulled over by police in UK. Said I was driving like an idiot and cutting in and out. Took my license and all details. Gave license back and said it was “warning” and told me about dangers of that particular road. Anyone know if any further action is took? Such as letters, fines?? Or even logged on system and recorded for future insurance etc.??