White patches on the penis and prepuce(foreskin) may be caused by a fungal infection
by Candida albicans. Its called candidiasis
. It can be treated by oral anti-fungal drugs but you need to personally visit a physician to confirm the diagnosis and get a prescription. You should get your sex-partner examined too.
Hope you get better.