Herpes am After?

Hi guys I’ve been having very uncomfortable pain the past couple months. I’ve never had anal sex. In fact I’ve had a girlfriend for the past 3 years and we have both been faithful. I’ve had constipation problems for a while and have been excreting hard poos. I visited my doctor twice and he prescribed me hydro cortisone with fungal cream to help. (said it isn’t any sort of STD) not sure if it hemmorids because I didn’t ask… So far I’ve noticed it has done nothing. Some days it doesn’t hurt as much but its just a very uncomfortable feeling.

Does any one have anything similar or know what this is? Let me know

thank you