To write on fabric using a pen, you should really use a fabric pen with a special tip for writing on clothing. Then, let the ink dry thoroughly and keep the fabric from sources of moisture like rain or sweat. You can also “set” the ink in the fabric by heating it up with an iron.