Why? What is it you're concerned about? Sperm doesn't really get inflamed, right? So is the problem your prostate?
Unless you're looking to see if the sperm itself is infected, probably the kind of test that examines whether infection or inflammation is present in your system would be a blood test, or possibly a urine test. Talk with your doctor and explain what kind of infection or inflammation you suspect.