Spend a night in jail, go court. Pay 3000 baht fine, get your license suspended for 3 months.
Your motorbike/car license will be suspended, you can use the other one.
Next time you get caught it is three months in prison.
In Pattaya, if it is a single cop then 5000 baht, if it is an check point forget bribes.