Anyone who has sinned mortally cannot receive Communion (see Catechism no. 1857 for conditions for mortal sin) until he or she is restored to a state of grace through the sacrament of confession.
*Catechism of the Catholic Church *:
1415 Anyone who desires to receive Christ in Eucharistic communion must be in the state of grace. Anyone aware of having sinned mortally must not receive communion without having received absolution in the sacrament of penance.
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.