I have a irritation on my penis from having unprotected sex. She got a UTI, and I have some red spottage on penis. Best way to treat?

Need to test. UTI in your partner would not give you a lesion on your penis. You may have a sexually transmitted disease and it would be prudent to see your doctor for an evaluation and proper treatment. It is not feasible to provide a meaningful opinion without examining you.