These are more common in individuals who are chronically constipated.
Having regular fiber
in your diet
including taking extra fiber like metamucil
would be helpful. Depending on the degree and if these stick out or are bleeding surgery may be required. Taking sitz bath
may help relief some pain.