My penis foreskin is not loose, thus my glans cannot be seen. Once I was trying to pull my foreskin back and while doing so, I got a hard-on. This led to the separation of glans from the skin. It has been 5-6 months since this incident and it has not healed yet. What do I do so that the glans and skin gets back together?
The glans and the foreskin are not supposed to be attached. You forced a separation the wrong way and it caused you pain. I don't know if the separation was complete or not. If not, you need to finish encouraging the foreskin to detach from the glans by following these instructions: I'm uncircumcised. The skin on my penis doesn't pull back all the way to release the tip of the penis.
If you mean that it has not healed in that there is still an open wound, you need to see your doctor.