There are branches of all three telecoms companies – AIS, DTAC and True – in Bangkok Airport’s Arrivals Hall so you can get a SIM as soon as you arrive.
When you arrive at Suvarnabhumi-Airport, you can get a free SIM-Card for your telephone / smartphone – if you whish.
You have to stay on the arrival-level and not take one of the escalators to the public transport level.