Your doctor will obtain certain labs including a Sedimentation Rate (ESR) and C-reactive protein (CRP). Elevated labs demonstrate an inflammatory reaction in your body. They will then take fluid from your knee with a needle. The fluid will be tested for white blood cells and bacteria. Through a combination of these tests, your doctor can help you determine if your knee is infected.