Posthitis is inflammation of the foreskin. Foreskin is the thin layer of skin on the penis head/glans. Posthitis is most often caused due to bacterial or fungal infection. The cause of infection can be due to improper hygiene, having unprotected sex etc. Treatment for posthitis addresses the root cause of the problem after diagnosis by a qualified sexologist or urologist.