AY Honors/First aid/Clothes on fire
From Pathfinder Wiki
Get the person to the ground and roll him over and over on the ground. Another option is to wrap the victim with a blanket, coat, or jacket if one is handy. If your own clothes catch on fire, stop, drop, and roll - do the same thing to yourself as you would to someone else.