you need to know if its the filling valve or the flush valve thats at fault, if the cistern lid does not come off you may need to pull the two buttons off ans unscrew the flush valve from the lid.
push one button down then pull the other button to remove .
push one button down then pull the other button to remove .