I have tried two things. Wash before you cut. Or if small pieces you can wash in a salad spinner works really well.
For larger pieces, I either pink the edges. But learned on here if you just cut a little edge of the fold in the fabric they do not ravel near as much.