Sex during af?

Cynthia
Was wondering if you has sex while on the last days of AF and your fertil period is days after could you get pg or does your AF stop sperm from swimming up thanks:-)