Hemorrhoids can occur inside the rectum. Those are called internal hemorrhoids. Or, they can happen under the skin around the anus. Those are called external hemorrhoids. Internal hemorrhoids don’t cause any pain and usually don’t require treatment unless they start to bleed.
https://newsnetwork.mayoclinic.org/discussion/home-remedies-relief-from-hemorrhoids/