Can. 920 §1. After being initiated into the Most Holy Eucharist, each of the faithful is obliged to receive holy communion at least once a year.
§2. This precept must be fulfilled during the Easter season unless it is fulfilled for a just cause at another time during the year.
Can. 989 After having reached the age of discretion, each member of the faithful is ob-liged to confess faithfully his or her grave sins at least once a year.
(of course one has to repent (and mean it…breaking with any and all mortal sin…such as cohabitation etc…one course has to be able to go to the sacraments…before one can ) and confess all mortal sins prior to holy communion…)