Start by cleaning the cage regularly, keeping it spotless and poop-free.
Make sure your parrot’s diet is rich in vitamins and minerals to prevent nutritional deficiencies driving this behavior.
Throw in fresh veggies and fruits for good measure.