Most likely a bit of dirt got in the toilet shutoff vavle.
Some designs can be flushed out.
But in general it is best to just replace it.
If it uses a standard fill valve get a Fluidmaster replacement.
© 2017 Renovate Your World LLC