Thank you so much for more information and for waiting as well.
Co-codamol is combination of codeine phosphate and paracetamol.
Codeine is notorious to cause constipation and hard stools and i will not advise taking co-codamol in your case.
I think you have most probably either hemorrhoids or anal fissures and pain ful defecation specially fissure( tear in the anal ring) leads to more constipation and constipation hurts more when hard stools are passed and cycle goes on.
So please avoid constipation by.
discontniue co-codamol and instead just take paracetamol or other pain meds.
Use metamucil more frequently. mix up in water or milk and drink immediately.
use more liquids routinely.
consume more fiber.
you can use glycerin suppositories .
you can also use stool softners like bisacodyle 1-2 tablets daily.
you can apply hydrocortisone cream in anal area. And most iportantly you should have direct clinical evaluation by local physician in order to pin point the cause of bleeding.
Best wishes for your health and safety.