Piles & irregular toilet

Hi!

Please can someone help, I’ve been irregular with my toilet and been constipated, now this has turned to piles and I am going to the toilet but it feels more like diarrhoea. Does anyone have any tips how to get back to normal?