Swab test?

Ra

Im going in for a midwife appointment next week so ill be 36w4ds and they told me they are gonna do a swab test... is that something i can do myself or is this one of those things the doctor does 😬 little nervous about having people down there unless I'm giving birth haha 😅