since january i have started to notice blood on the tissue after i poo. this was happening on a regular basis but in the last 2-3 weeks it is happening everytime i go to the toilet and it is now painfull when i poo and also afterwards for a few minutes. i have no piles that i can see and the blood is fresh. could it be i just tore myself a little or is it something i need to get checked out
You probably tore something when you went to the bathroom at some point and it just didn't heal. It's called an anal fissure. Since it is not healing on it's own, I agree that you need to go to the doctor and have it checked. It could also be internal piles (hemorrhoids), which aren't visible from the outside. Those need to be treated with medication.
To prevent this in the future, make sure you don't force things when you "go", drink plenty of water, and get more fiber in your diet through fruits and vegetables or through fiber supplements.