You've probably got limescale on your inlet valve which is causing it to stick.
Take the lid off your cistern and have a look at the valve (attached to the water inlet pipe). Take a blunt flat blade screwdriver and scrape off any big chunks limescale from the valve, and hopefully this should free it up.