If it works, but not very well, inspect the pressure tube(s) and push button for leakage. Check the cistern valve mechanism for free movement.
How old is it?
As a last resort use a bucket (of water that is, not bucket & chuck it, although that may be the very last resort)
Brian