Ovulation

Can u ovulate when you are pregnant I’m really tryna get to the bottom of this.my friend had sex and was worried thn a couples days later she has discharged or “ovulation” n she claimed she wasn’t pregnant if it was still releasing eggs