Hi welcome to Health care magic forum. From your description your problem has presented as fissure in ano
but there is an internal piles, as it is in the first stage you can try medical treatment.
I advise you to consult a surgeon, for diagnosis and treatment. you may need to get proctoscopy done for confermation of the disease.
You should use medicines for a long time, and laxatives still longer till you are completely cured of it. But there is chance of recurrance, at any time in the life, or may not. So dont worry.
I advise you to follow some diet recommendations as take more of water, fruits , juices, green leafy vegetables, pulses, sprouts, to promote free motion.
Wishing for a quick recovery and thanks for calling.