Anal warts caused by HPV infections will go away after a few months or years. However, this doesn't mean that the virus is no longer present in your body. As much as possible, get treatment for anal warts. Treatment prevents them from spreading and growing into larger and potentially painful clumps.