How do you fix a gas leak?

First off where is it? If it is in line then you can cut that section off and replace it with rubber fuel line of equal size.