What you need to do depends on the beer.
If you’re serving a stout, bitter, mild or beer with similarly low carbonation the pressure is too high and turning down the pressure to about 8psi will ease, maybe eliminate, your problem. You may have to also vent the keg with the gas turned off in order to release some of the CO2 from the over-carbonated beer. To do this turn off the gas, pull the PRV to depressurise the keg, leave it for a few minutes for more CO2 to come out of solution, pull the PRV again, turn on the gas.
If you’re serving an IPA or something that needs a bit more carbonation you need to leave the pressure higher but you need to increase the resistance of the beer line by using a length of 3/16 line. The length will depend on the pressure you need for the carbonation you want.
Gas in the beer line might indicate the beer line is warmer than the keg (encouraging CO2 to be released from solution in the beer line), or may indicate an infection in the beer line (make sure you clean the lines regularly), or perhaps is the result of a leaky seal (the most unlikely but possible if the keg is old, an o-ring is damaged, or you’ve stripped it down and not got it reassembled correctly).