Yes you can, provided you are not allergic to any drugs and have no contraindicated conditions for the use of the above mentioned medicines.
Next Steps
Please visit a dentist if the condition persists even after medications.
Start with warm saline gargles ( Take a glass of lukewarm water and add a pinch of salt to it) 3-4 times a day for 1 week.
Apply ointment Hexigel in the area 3times a day before gargles for 1week.
Health Tips
Best treatment for repeated pericoronitis is to do pericornectomy (removal a little gum tissue over the tooth) and if the condition demands even extracting wisdom tooth will be of much more benefit.