You don't mention what bike or what type of hub gear you have.
Hub-geared bikes use a few different methods of adjusting chain tension, the most basic being simply undoing the wheel nuts and pulling the wheel further back in the drop outs. Doing this may also have the effect of taking your hub gear out of adjustment if its adjustment is dependent on cable tension. So, you may need to re-do the hub gear cable tension too.
Also be sure, after your work that the wheel nuts are done up tight and that the wheel is central between the chain stays.
Check also, if you have rim braking. that the pads are aligned properly with the wheel rims.