Are there steps I can take to prevent getting abscess in tonsils?

Tonsillectomy. The tonsils exist to aid in fighting infection. Unfortunately when you have had numerous episodes of infection and this becomes chronic tonsillitis the changes in the tissue now make the tonsils a liability rather than a benefit and they may need to be removed. This would obviously prevent abscess from developing. See an ENT doctor.