Node "Event BeginPlay" AND Node "Do N"

Im a very beginner too and might be wrong but try to begin Play->do n and from the exit of do n go to ur on/off light function and from the on/off light function to the enter of ur do n again … this should loop ur on/off light n Times