If you live in America near a Giant Eagle or Meijer, they do FREE antiobiotics (some) and I know Bactrim is on their free list.
Otherwise, Bactrim is fairly cheap at most pharmacies. Go in, bring your script and ask them for a price BEFORE they fill it,