The Memorare is a short, confident prayer asking Mary to intercede. Its claim is simple: no one who fled to her protection was left unaided.

The prayer
The Memorare
Remember, O most gracious Virgin Mary, that never was it known that anyone who fled to thy protection, implored thy help, or sought thy intercession, was left unaided. Inspired by this confidence, I fly unto thee, O Virgin of virgins, my Mother; to thee do I come, before thee I stand, sinful and sorrowful. O Mother of the Word Incarnate, despise not my petitions, but in thy mercy hear and answer me. Amen.
How to pray it
Pray it when you need help now. Name the need before you begin, then say the prayer slowly. The confidence in it is the point.
Where it comes from
Mary's intercession is the prayer of a creature, powerful because it is joined to Christ's CCC 2677 (tier 1 citation). At Cana she told the servants, "Do whatever he tells you" (Jn 2:5): that is still her role.