Membrane sweep question

When can a doctor sweet your membrane? Will they do it at 38 weeks