Bactrim is a common med for kidney infections and it usualy will take up to 3 to 4 days for you to notice a change and the burning to stop is about 2 days. You should still take all the meds given and drink plenty of water. Stay away from caffine it will only make it worse and hope this helps.