Looks like you have developed intertrigo
over the knee folds.
This occurs due to maceration of skin at the folds due to increased sweating.
Now this leads to fungal infection
most commonly at the folds.
You might need to apply a topical antifungal
cream and take some oral antifungals along.
take antihistamines for the itching.
Hope it helps
Dr Geetika Paul