As you are having gum problems, you need to provide at least clinical picture of your gums. You need to take pictures. You should visit your nearest dentist.
Next Steps
Till date , plz apply Rexidine m forte gel over the gums where you are having pain.Apply gel for 4 to 5 times in a day with gently massage over the gums. If you want to take pain killer , Take Tab zerodol sp as and when required.