my pennis foreskin WAS attached to the head now it isn't ( i think while masturbating) now they are both a little red where they were attached. Anything wrong?
Boys are born with a fusion between the head and the foreskin. That fusion usually spontaneously dissolves. Apparently, in your case, there was a lingering fusion.
You have broken a lingering fusion between the foreskin. The redness will go away soon.
This shows one reason why masturbating is good for penile health.