Clogged ducts

Brit

My right breast keeps getting clogged ducts I clear it and the next time I pump it’s clogged again and pretty painful... why is this happening now? I’ve been EP for three months as my son refuses to latch... pump every 3-4 hours and once overnight... is there a way to prevent or just treat?