My friend taught me to cup your hands and do the patting. She advised me to do it not right after milk.
I usually do it just before he has his milk. After his milk, he will start coughing and while burping, the phlegm will come out.
This form of patting has worked well for my son.