Well i can only add to all the good things what doctors below have said. See the gums getting swollen again and again may be an indicator of inadequate treatment.
Cleaning with the help of machine that is ultrasonic scaler may sometimes be inadequate. You have to undergoe root planing and currettage if the problem jsnt subsiding. Please get xrays done to confirm weather the problem isnt in the bone and is just in the gums only.
I hope u dont have a medical history of any medicines ur taking or ur on the family way.
Also i would advice to do in between the teeth cleaning with floss or with a interdental brush.
Next Steps
Use chlorhexodine-plus filuted with 1 cap water and 1 cap mouthwash in the interim period and please visit a dentist or a good periodontist because he may know better about gums.(not to be rude here but that is his speciality)
Health Tips
Warm water salt rinses and chlorhexodine rinses as advised.