Wilcoxon Exact Test - Ties and p-values

How does one work around ties when running an exact paired Wilcoxon test? Is there a different function to use to generate exact CIs and p-values?