As per your query you might have got Epididymo orchitis
.It is inflammation of testis and epididymis
You might have used antibiotic and anti inflammatory drugs.
Because of the pain killers,there might be slight bleeding in the stomach and it will become dark while passing stools.
You should take Rabeprazole
tablets along with Sucralfate
Please consult a Surgeon/Gastroenterologist and follow their instructions.