Leviticus 22:4

22:4 No man from the descendants of Aaron who is diseased or has a discharge may eat the holy offerings until he becomes clean. The one who touches anything made unclean by contact with a dead person, or a man who has a seminal emission,

Leviticus 22:7

22:7 When the sun goes down he will be clean, and afterward he may eat from the holy offerings, because they are his food.