All your symptoms have started after sex.Most probably you have attempted sex before your partnes vagina got fuly lubricated due to normal vaginal secretion that happens during sex.You have attempted dry sex.You have develoed what is called as Balano posthatitis and infection of
Glans penis and Foreskin.Pl take a following treatment
1)Clean the glans and foreskin twice daily.
2) Antibiotics for a week.
3)Antibiotic ointment
Neosporin to be applied locally twice daily