Welcome to the forum.
For the general itching, the tablets mentioned should be of help. If not, a skin specialist help is needed.
For the penile problem, it is most probably bacterial/ fungal infection
Hence you need an ointment that can act against both of them.
In addition, oral antibiotics
may also be needed.
These can be done only after getting examined.