Way to improve the quality of bore well water

Hi, is there any way to improve the bore well water which is clean the entire year but gets polluted after rain?