Based on the Fourth Commandment, the Church teaches:
Respect for parents (filial piety) derives from gratitude toward those who, by the gift of life, their love and their work, have brought their children into the world and enabled them to grow in stature, wisdom, and grace. "With all your heart honor your father, and do not forget the birth pangs of your mother. Remember that through your parents you were born; what can you give back to them that equals their gift to you?"
Filial respect is shown by true docility and obedience. "My son, keep your father's commandment, and forsake not your mother's teaching. . . . When you walk, they will lead you; when you lie down, they will watch over you; and when you awake, they will talk with you." "A wise son hears his father's instruction, but a scoffer does not listen to rebuke."
As long as a child lives at home with his parents, the child should obey his parents in all that they ask of him when it is for his good or that of the family. "Children, obey your parents in everything, for this pleases the Lord." Children should also obey the reasonable directions of their teachers and all to whom their parents have entrusted them. But if a child is convinced in conscience that it would be morally wrong to obey a particular order, he must not do so.
As they grow up, children should continue to respect their parents. They should anticipate their wishes, willingly seek their advice, and accept their just admonitions. Obedience toward parents ceases with the emancipation of the children; not so respect, which is always owed to them. This respect has its roots in the fear of God, one of the gifts of the Holy Spirit.
Catechism of the Catholic Church (#2215-2217)