If this problem is due to medicne you are taking then itching should on another part of the body as well.
So ths seems that you might be having fungal infection
on the part or some irritation due to inner wear.
Apply anti-fungal cream locally.
tablet for itching.
Keep local part clean.
Ok and take care.