vw golf - engineworkshop light comes on - dianeannie

took it to the garage had a dignostic test done it said loss of power . there was a big hole in a pipe had that replaced, but the light still comes on