Ovulation afterword

Cc

Once I finish ovulating supposedly my egg can live to within 24 hours and then Die right? If I had unprotected sex like a week later and then take a plan b pill will I be safe still? Is my egg already dead by then?