Bowel movement problem?

i have a irregular schedule of going no. 2... i go every 3 days or possibly more, but when i do, it takes about four hours or MORE to do so...

it’s always so painful and my body always had to push by itself to get it out because i can’t simply do it by myself

should i visit a doctor? or is there any good supplements i could take to fix this problem? i have school so it’s hard for me to make appointments.