Mate, when you are still in pain after a full course of treatment, you should touch base with your doctor again. Is it still red? Still JUST like it was in the beginning. I've read that pain can linger after you are done with antibiotics for a period of time -- unfortunately for a few weeks to month even. https://www.urologyhealth.org/urologic-conditions/epididymitis-and-orchitis If you still in a lot of discomfort, I'd call your doctor about it.
I agree - definitely get back in touch with your doctor. If you are still in pain, you need to let your doctor know.
I'd not do the long masturbation and edging for now. Let yourself heal. But definitely check with your doctor - you may need another course of treatment. Discuss the magnesium with him, too.
I went to the urologist today. He told me that since there was nothing in the ultrasound and there was slight swelling in my epididymis, it couldn't be something else. He said that the pain is significantly weaker than it was before treatment and the swelling is gone and that pain is just remnant!
He gave me anti-inflamatories. Piroxicam 20mg for 14 days. Dunno much about it, anyone has any insight?
I've never heard of that, but it seems like it treats lots of things - https://www.sdrugs.com/?c=drug&s=cyclo%203%20fort
Though if you're "completely fine", why are you taking it? Just something to think about.