The technique itself is elementary: work on a single task for 25 minutes, take a break for 5 minutes, every few cycles (called pomodoros) take a longer break; repeat forever.
It has many benefits itself for “neurotypicals”, even more for ADHD folks, but can be significantly improved if other activities are linked to breaks - like eye exercises or stretching.