Pray directly to the Father in Heaven
Do not pray to another intercede for for you - not even me, Jesus, The Son
John 16:
26
In that day you will ask in my name. I am not saying that I will ask the Father on your behalf.
27
No, the Father himself loves you because you have loved me and have believed that I came from God. 28I came from the Father and entered the world; now I am leaving the world and going back to the Father.”
================
but Catholic Church teaches to pray to others (Saints, Mary) intercede for us.
--------
Like all prayers to Saints, our prayers to Virgin Mary rely on the Saints' special power to intercede for us before Christ and the Father. But since Mary has a unique role in salvation, and a unique relationship to the Trinity, our prayers to the Blessed Virgin also rely on her special power of intercession.
"Mary is the perfect Orans (pray-er), a figure of the Church. When we pray to her, we are adhering with her to the plan of the Father, who sends his Son to save all men. Like the beloved disciple we welcome Jesus' mother into our homes, for she has become the mother of all the living. We can pray with and to her. The prayer of the Church is sustained by the prayer of Mary and united with it in hope." (Catechism, 2679)
https://www.beginningcatholic.com/prayers-to-virgin-mary
---------------example of prayer to Mary-------
O Immaculate Heart of Mary,
full of goodness,
show your love towards us.
Let the flame of your heart,
O Mary, descend on all people.
We love you immensely.
Impress true love in our hearts
so that we have a continuous desire for you.
O Mary, gentle and humble of heart, remember us when we are in sin.
You know that all men sin.
Give us, by means of your Immaculate Heart, spiritual health.
Let us always see the goodness of your motherly heart
and may we be converted by means of the flame of your heart.
Amen.
Immaculate Heart of Mary,
full of love for God and mankind,
and of compassion for sinners,
I consecrate myself to you.
I entrust to you the salvation of my soul.
May my heart be ever united with yours,
so that I may hate sin,
love God and my neighbor,
and reach eternal life with those whom I love.
May I experience the kindness of your motherly heart
and the power of your intercession with Jesus
during my life and at the hour of my death.
Amen.
Prostrate at thy sacred feet,
O august Queen of Heaven,
I venerate thee with the most profound respect,
and I believe that thou art the daughter of the Eternal Father,
the Mother of His Divine Son,
and the Spouse of the Holy Ghost.
Full of grace and virtues and heavenly gifts,
thou art the purest temple of the most Holy Trinity,
thou art the treasury and dispenser of divine mercy.
Thy Immaculate Heart, full of charity, sweetness and tenderness,
has given thee the name of Mother of Divine Clemency.
Therefore, in my affliction
and agony I present myself with confidence before thee,
our most loving Mother,
and I pray thee to make me experience the love which thou bearest us;
Grant me (specify the favor)
if it be the Will of God and for the good of my soul.
Amen.
O Immaculate Heart of Mary,
refuge of sinners,
I beg of you by the infinite merits of the Sacred Heart of Jesus,
and by the graces God has granted to you since your Immaculate Conception,
the grace of never going astray again.
Mother, keep me, a sinner,
constantly bathed in the light of your Immaculate Heart.
Amen.
In the Immaculate Heart of Mary, I Trust
Look to the Star
Call upon Mary!
In danger, in difficulty
or in doubt,
think of Mary,
call upon Mary,
Keep her name on your lips,
Never let it pass
out of your
heart. Following
in her footsteps,
you will not go astray:
praying to her,
you will not
fall into despair:
thinking of her
you will not err.
While she keeps hold
of your hand,
you will not fall ...
you will not grow weary ...
you will have no fear ...
Enjoying her protection,
you will reach the goal.
(Saint Bernard)
https://www.marypages.com/prayers-to-the-blessed-virgin-mary.html