You should never attempt to treat a ruptured anal gland abscess at home. Seek immediate veterinary assistance for a proper diagnosis and course of action. It may involve draining the abscess, cleaning the infected area, and prescribing appropriate medications.