There are lots of ideas, and you can’t really do anything with just an idea. You need some kind of expression of it, in code, designs or a process that you can register as unique.
In order to patent an “idea” it must:
- Be an invention (some proof of concept is needed)
- Have a novelty aspect to it
- Not be obvious
- Be useful