When ever I wear underwear then my friction burn appear on my penis and when I wear loose trouser then it is disappear. Is I am allergic with underwear?

Unlikely. It is possible to be allergic to certain material that your underwear is made from. However, it is also possible that your clothing fits too tightly. Try underwear of a different fabric and see if this makes a difference.