This is the 184th most frequent Spanish word.
veces
Instances or times.
The word 'veces' is used here combined with 'a' to mean 'sometimes', indicating an action occurs occasionally.
A veces salgo a correr por la mañana.
Sometimes I go running in the morning.
The word 'veces' refers to instances or repetitions of the action of visiting the museum.
He visitado ese museo varias veces.
I have visited that museum several times.
The word 'veces' indicates the number of occurrences of taking the medicine in one day.