You will be having this migrane problem till this end of june 2014. Later you will be alright. Till that time you can do Surya namaskara every day early morning, which will boost your sun in natal chart and you start recovering from this.
And for your piles trouble its because of the rahu dasha, which is troubling mars. Hence what you can do is 9 tuesdays visit Navagraha temple / narashimaji ka temple offer 9 pradakshina chanting below mantra
Om kraam kreem kroum sha bhoumaya namaha!!! in navagraha temple
Om naarashimhaya namaha!!! in narashimaji temple
along with this offer red flowers to god.