Underweight

Anyone have any tips for an underweight person to be able to put on more weight?  no matter how much I eat and excersise I tend to lose more than a gain. Help!?