I can make a loop, but IDK how to make the LED's do something JUST THREE TIMES
You can count, can't you? You count the number of times you have done something. When that count gets high enough, you do something else. No rocket surgery involved, which is a good thing as rocket surgeons charge an arm and a leg.