Hello friend..
For the symptoms you described , first of all you have to undergo
ultrasonography of the abdomen.
After sonography, consult a surgeon near by you, because the pain you described is possibly due to ureteric stone but the swelling requires proper examination for diagnosis.