Dear Student,
The best method which can be done at that situation is that you should simply cover the clothes with a blanket which can cut the supply of O2 to the fire. The blanket cuts the supply of oxygen from air and extinguish the fire because combustible compounds use oxygen from air to chemically combine with oxygen and release heat and light and continuously need oxygen to keep burning. So, stops the oxygen supply to extinguish fire.
Regards