I was just wondering why some people have this swab done? Is it something that everyone is meant to have done at some particular stage in the pregnancy?

Mainly wondering as I have not had it done and nobody has mentioned it to me either, should I be getting back to the doctors in the next few days?