Warts are tumours or growths of the skin caused by infection with Human Papillomavirus (HPV).They are contagious when in contact with the skin of an infected person. It is also possible to get warts from using towels or other objects used by an infected person.
For small warts that affect only the skin around the anus, several medications(like podophyllum resin, Podofilox (Condylox), Trichloroacetic and bichloroacetic acids, Imiquimod 5% cream and interferons) are available, which can be applied directly to the surface of the warts. Other treatment options include electrical cautery, surgical removal, Carbon dioxide laser treatment and electrodesiccation.
In my opinion you should talk to a cosmetologist/dermatologist about this and get these warts evaluated. The starins causing common warts is different from that causing genital warts which are sexually transmitted.
It is very difficult to precisely confirm a diagnosis without examination and investigations and the answer is based on the medical information provided. For exact diagnosis, you are requested to consult your dermatologist. I sincerely hope that helps. Take care and please do keep me posted on how you are doing.