Thanks for your query,based on the facts that you have posted it appears that you have sustained injury to your glans penis
due to rough dry intercourse while vagina of your partner is not well lubricated .
You need to take broad spectrum antibiotics like Cefotaxime
along with anti inflammatory medication like Diclofenac
twice daily and topical antibiotic
ointment for local application.
Ensure to wash your genitals with warm water twice daily and avoid sexual intercourse till it gets cured completely.
Make a routine to use lubricant so that her vagina is well lubricated before you proceed for