Your doctor has prescribed precautionary antibiotics to avoid infection, since injured penis is more prone for infection because of urine etc,
You need to take pain killers (analgesics) like aceclofenac
And please try not to injure penis before it gets cured by avoiding intercourse or mastrubation.
You could revert to your sex life soon after healing. No worries