Okay first of all, oil pulling will not cause a tooth to loosen on its own. There must be an unaddressed underlying problem. You should visit a periodontist to know the reason and then plan the treatment accordingly. Do not panic. And it is not a reason to worry as we have treatments for every issue! I understand the fear of a loosened tooth, but let the dentist take care of your worries. Visit the dentist. Professionally, according to the info you have given, you may have loosened periodontal ligaments which can be due to multiple causes.
Next Steps
visit a periodontist as soon as possible
Health Tips
Do not try any DIY tips from the internet