It seems that you might have infected piles giving rise to throbbing pain
and some pus on it giving rise to white dots.
You may require one course of antibiotic and anti-inflammatory medicines along with Flagyl
after consulting your doctor.
Take more fiber containing diet.
Take plenty of water.
Ok and take care.