Leaking exhaust flange

I have gotten them straighter by removeing gasket and then tighten,,heat the down pipe red hot about 2 inches all the way around and retighten while hot,let cool.Now in stall your gasket.Mark