Itchy butthole / tiny dots of blood when pooping ( TMI )

For the past few days my butthorl has been mild itchy and everytime I poop I noticed tiny dots of blood when I wipe what could this been do I need to go to the doctor has this happen to anyone else how long will it lasts