Talk to someone and get support.
If someone knows what you are doing they can keep an eye on you and keep you from purging. I have argued with my mum countless times because i was going to the bathroom to purge after a meal but she would stand in the way and not let me in. I despised her at the time but she was trying to help me and was doing her best. So confide in someone close to you, it is the first step towards recovery. But also it can make you realise what you are doing is wrong and by having someone there to help you through the tough times and keep you from purging then it can be easier to stop.
Stop 'cold turkey' (I.e all at once)
Some things it is better to slowly cut down and decrease but when it comes to purging you need to stop all together. Not just purge 3 times a day instead of 6 or purge atleast once a day/week. It is something you need to stop all at once, that you decide to not purge and then there is no... 'i can purge after dinner or, it's ok if i purge now because i havent purged earlier'. You need to keep yourself away from situations where you can purge and to find ways to cope with the anxiety and guilt. Because those feelings will pass but if you still purge sometimes, then it is much harder to get rid of the habit and problem.
Make a list of goals and rewards for going purge free
Set up small rewards or goals after going say 1 week without purging, then by going a whole month without purging and 3 months without purging. Do or buy something nice which will motivate and encourage you to keep going and your eventual goal.... lose track of the days you go without purging.
Decide to stop purging.
You need to 100% decide to stop. For your own health and because it is a pretty nasty habit. If you are only on the edges of recovery that isnt good enough and the temptation to purge will definitely become too much. So instead you need to know and decide that you want to stop and try your hardest to do that. Even if you slip up, you will know that you want to get rid of the habit and change and the slip up will just motvate you even more to get rid of the habit!
These are just some of the things i found helpful when i was trying to get rid of my purging habits - if you have any that help YOU then comment below :)