Hello Dear,
Warm  welcome to Healthcare Magic.
I have evaluated your query in details.
* Cause of hemorrhoids is mostly compression of anal tissue with hard stools or others .
* Primary guidelines for better outcome till you consult your doctor. Drink plenty of liquids . Prefer  soft , light  diet  with more of green leafy veg , whole grains , cereals , pulses , legumes , organic  fresh  fruits Avoid  all  types  of  oily , spicy , non veg , hot beverages , junk foods , dairy fat . Manage to have smooth bowel passage with the help of bulk forming laxatives as Ispaghula husk with lukewarm drinking  water .Tab. 
Ibuprofen ( 400  mg ) after  meals  for  control of pain , burning  if no history of drug sensitivity .
Xylocaine ( 5 % ) jelly application over the anal part gives soothing  action . Sitz bath ( sitting in a tub filled with lukewarm water 5 minutes each  3 times a day  and  additionally  after  passing  stools ) helps . Avoid long drives , sitting prolong on hard surfaces .
Control of blood sugar , 
cholesterol , body weight .Avoid 
smoking , alcohol if consuming .
Hope this will help you for sure.
Wishing you a fine recovery .
Welcome for any further  guidance .
Regards  
Dr. Bhagyesh ( MS , FMAS - consultant surgeon )