I think im losing compression plz help



I think I am losing compression because when it is in gear it slowly slides back in jolts and i thinkit might be because the exhaust leaks where the 2 parts connect. Also it does not idle but i have a 250r carb so some things are a little different