Teach kids manners

How do I teach kids manners?

I use a birch rod on them if they don't say please and thank you - They learn really quickly.

I think this is not the correct way, if you have more realistic then please share with me.