Medicines are safe but I would advise having an OPG done to see whether the 3rd molar is straight or tilted. If it's straight, just get the swollen gum cut under anesthesia. It's a very simple process and you'll get relief immediately.
Next Steps
if the molar is tilted, you need to extract it soon as it may cause harm to the adjacent 2nd molar.