Penile cramps can be caused by glans, prostatitis and urethritis, and can be treated with medication. 1. glans: glans is mainly caused by infection and trauma, which can lead to local skin redness, swelling and erosion and other symptoms, when the glans is stimulated by inflammation will cause penile cramps, you can follow the doctor’s instructions to take Norfloxacin hydrochloride capsules, levofloxacin hydrochloride tablets and other drugs treatment. 2. Prostatitis: prostatitis is a pathogen infection, or irregular sex and frequent masturbation, will lead to frequent urination, lower abdominal discomfort, fidgety, but also lead to increased secretion of prostate fluid triggered penis cramps, need to strictly follow the doctor’s instructions to take minocycline hydrochloride tablets, tetracycline tablets and other medication. 3. Urethritis: Urethritis causes mainly include gonococcal and non-gonococcal infections, the symptoms of urethral itching, urinary frequency and urinary pain, etc., will lead to penile cramps, you can take azithromycin dispersible tablets under the guidance of the doctor, cotrimoxazole tablets and other drugs. Penile cramps may also be caused by vasculitis, orchitis and seminal vesiculitis, which require timely medical treatment. Medications should be applied under the guidance of a doctor.