to be worth itUsed to say that something is worthwhile or deserves the time, effort, or cost involved. The form "valer la pena" is the infinitive; the verb changes according to the subject and tense.
SP: Creo que puede valer la pena visitar este museo.