Hi
Usually OK although the interactions between alcohol and antibiotics are always a bit unpredictable. Some antibiotics react very badly with any amount of alcohol but bactrim isnt in that group for most people.
A couple of glasses of wine should be OK. More alcohol than that and you might find that you get an upset bowel.
Hope that helps