problema da principianti (beginner problems...) [ITA+ENG]

allora ho un problema che mi si è presentato già diverse volte usando arduino. Premetto che sono alle prime armi quindi spero sia davvero nulla di troppo avanzato. Avrei creato un semplice programma con Led e pulsante (Usato come Switch). Quando premo il pulsante, allora il led cambia stato (ON/OFF). Ho creato poi a parte un programma che faccia "pulsare" il led all'infinito. Ho quindi provato a integrare le due funzioni tra loro per aver un effetto combinato... ORA:
vorrei che: premendo il pulsante le prime tre (ad esempio) volte il led cambi stato, premendolo invece la volta successiva mi faccia la pulsazione all'infinito, o meglio FINO A QUANDO io non vado a premere nuovamente il pulsante. Sarò scarso io ma è qualche giorno che le provo tutte e la pulsazione inizia alla quarta volta che premo, ma non si interrompe quando premo di nuovo. In particolare mi piacerebbe che il counter delle premute si azzerasse una volta finita la pulsazione in modo che poi posso nuovamente premere il pulsante per far cambiar stato --> pulsazione --> cambia stato --> ...
Grazie mille a tutti della eventuale e cortese risposta :smiley:

p.s. Se volete le linee di codice che ho scritto io ve le posso postare qui, oppure provate a fornirmi un'idea su come fare. Grazie mille

ENGLISH VERSION
then I have a problem that has already occurred to me several times using arduino. I state that I am a beginner so I hope it is really nothing too advanced. I created a simple program with LEDs and a button (used as a switch). When I press the button, the led changes state (ON / OFF). Then I created a program with the "breathing" effect on an LED to infinity. I then tried to integrate the two functions together to have a combined effect ... NOW:
I would like that: by pressing the button the first three (for example) times the LED changes state, instead pressing it the next time I do the pulsation to infinity, or rather UNTIL I do not go to press the button again. I'll be scarce, but it's been a few days that I've tried them all and the pulsation starts the fourth time I press, but it does not stop when I press again. In particular I would like the counter of the presses to reset to zero once the pulse is over so that I can then press the button again to change state -> pulsation -> change state -> ...
Many thanks to all of the possible and polite answer : D

P.S. If you want the lines of code I wrote I can post them here, or try to give me an idea on how to do it. Thanks so much

Hi. Your description is hard to understand. Your English is good enough, but it is the style of description which is difficult to follow. Try again, but write it in short, simple, numbered steps.