If it was a venial sin, it was not required to be confessed so you are fine. If it was a mortal sin, because you unintentionally withheld it you simply need to confess it the next time you go to confession.
Baltimore Catechism:
Q. 793. Is our Confession worthy if, without our fault, we forget to confess a mortal sin?
A. If without our fault we forget to confess a mortal sin, our Confession is worthy, and the sin is forgiven; but it must be told in Confession if it again comes to our mind.
Q. 794. May a person who has forgotten to tell a mortal sin in confession go to Holy Communion before going again to confession?
A. A person who has forgotten to tell a mortal sin in confession may go to communion before again going to confession, because the forgotten sin was forgiven with those confessed, and the confession was good and worthy.
DISCLAIMER: Catholic Answers has turned over the archive to Catholic-Questions.org and no longer owns, manages, or moderates the forums. For additional apologetics resources please visit www.catholic.com.