Help with frames

how could I make it so that if I use a command to go to a named frame and I want that frame to be accesable throughout the entire timeline. No matter what frame I am on it would go from that frame to whatever frame it was on before it. How would i accomplish this.