Comedian and "The View" co-host Sherri Shepherd has broken her silence about the breakup of her marriage with second husband Lamar Sally.

"I say you can't beat yourself up when you know you've made the wrong choice in a guy," Shepherd told Us Weekly at the 13th annual Samsung Hope for Children Gala, which she hosted Tuesday at the Manhattan event space Cipriani Wall Street. "You look, you do some introspective work, and you try not to make the same mistake." She added, "If you do, get back up, dust your feet off and start walking and moving forward."

advertisement | advertise on newsday

Shepherd, 47, also advised, "Have really good friends around you, so you have a soft landing place."

Sally, whom she married in August 2011, filed for divorce on May 2 citing irreconcilable differences, according to reports at the time. Shepherd responded with court documents last month, Us said, that asked for legal and physical custody of a baby, due this summer, that the estranged couple is expecting via surrogate.

Shepherd already has a son, Jeffrey, with first husband Jeff Tarpley. Conceived through in vitro fertilization, the child was born prematurely on April 22, 2005, when Shepherd was 25 weeks pregnant.

"When the dust settles," Shepherd told Us of her current travails, "you figure out what went wrong -- but as long as you're alive and you can breathe, you get up and keep going. For me, my child can't afford to see Mommy having a nervous breakdown. It's not in the cards."