Are there medicines for anal fistulas, or is surgery the only option?

NO. There is no known medical treatment for anal fistulas. This should be treated by a colon and rectal surgeon.
No. Antibiotics will help keep the infection from worsening, but once a fistula forms surgery will be needed to remove the fistula tract and the infected anal gland that caused it.