I wash and dry all my fabric before using, then iron with magic sizing. If you have good quality fabric and clip a quarter inch diagonally across all four corners of your fabric you will have only a very minimal amount of fraying. I was in the machine with warm water on gentle then take out of the dryer when it is still the tiniest bit damp. Deep pinks and red are likely to run a little. This is what my quilting class teacher taught me.
I also tear the selvages off before I iron them.