Asking for membrane sweep

When is the earliest possible time you can ask for a membrane sweep? I am 37 weeks and dying in pain, haven't slept well in days, and cant eat anything.