Answer by taking a quote from the following article:

Enrique Martin Morales (born December 24, 1971), commonly known as Ricky Martin, is a Puerto Rican singer, actor and author. Martin began his career at age 12 with the all-boy pop group Menudo. After five years with the group, he released several Spanish-language solo albums throughout the 1990s. He also acted on stage and on TV in Mexico, where he achieved modest stardom.

After achieving modest fame in Puerto Rico for his work in television commercials, Martin auditioned for membership in the Puerto Rican boy band Menudo. Although the executives enjoyed his dancing and singing at his first two auditions, Martin was rejected because he was too short. By the third audition, his persistence impressed executives, and in 1984, 12-year-old Martin became a member. A month after joining Menudo, he made his debut performance with the group at the Luis A. Ferre Performing Arts Center in San Juan. During this performance, he inadvertently disobeyed the choreography by walking around the stage, when it was planned that he would stay still, and was chastised by the band manager after the show: "The mistake was such a big deal that from that moment on, never again did I move when I wasn't supposed to move...That was the discipline of Menudo: You either did things the way you were told or you were not part of the group." The song "Asignatura Pendiente" from Almas del Silencio (2003) was inspired by the first time Martin left Puerto Rico to tour with Menudo.  Although Martin enjoyed traveling and performing onstage with Menudo, he found the band's busy schedule and strict management exhausting, and later reflected that the experience "cost" him his childhood. He considered leaving the group while on tour in Brazil, but ultimately decided to stay out of fear of media backlash and being sued for breach of contract. Martin also began struggling with his sexuality, noting the stark contrast between his status as a sex symbol and his own emotions. Despite this, Martin acknowledged his "opportunity to have so many amazing experiences with so many amazing people" during his time with the group.  He developed an interest in philanthropy when the group became UNICEF ambassadors, often working with impoverished children in third world countries. His experiences as an ambassador affected him greatly and inspired him to continue working with charities later in life.  By 1987, Menudo's record sales began to decline, and the group changed its image, adopting an edgier look and performing more rock-influenced songs. The band released the album Somos Los Hijos del Rock in Spanish, and to appeal to the Menudo's Filipino fanbase, the group released In Action, recording songs in both English and Tagalog.  After recording 11 albums with the group, Martin left Menudo in July 1989, at age 17, hoping to rest and evaluate his career path. He performed his final show with the group at the same venue where he'd performed his first performance as a member. Martin returned to Puerto Rico to graduate from high school, and 13 days after turning 18, he moved to New York City to celebrate his financial independence; since he was a minor during his time as a member of Menudo, Martin was not allowed to access his own bank accounts. He was accepted into New York University's Tisch School of the Arts, but months before classes began, Martin dropped out and moved to Mexico City to perform in the play Mama Ama el Rock (Mom Loves Rock).

When was Ricky Martin in Menudo?
1984, 12-year-old Martin became a member.