Some oral surgeons will prefer a general dentist to make the referral after proper assessment, diagnosis or determining tooth status and treatment. It is difficult to see the photo clearly for me. However, with your current report of pain and possible swelling, I recommend visiting your general dentist as soon as possible to avoid spreading a dental infection elsewhere in the body. Pain and swelling may escalate quickly and becoming very serious.