The foreskin of the penis and the glans penis the cone-shaped end of the penis can be inflamed. Men who develop balanoposthitis have an increased chance of later developing phimosis or paraphimosis problems related to the foreskin and penile cancer. Inflammation of the penis can be caused by infections, such as yeast infections, sexually transmitted diseases STDs , and scabies. When secretions become trapped under the foreskin, they may become infected, leading to posthitis. Noninfectious causes include skin disorders, including allergic reactions for example, to a latex condom or to birth control liquids or gels , lichen planus , psoriasis , seborrheic dermatitis , and balanitis xerotica obliterans.