Period ending?

How do you end your period sooner? Masturbate?