Thanks for asking the query,
Wisdom tooth are mostly tilted in position and impacted in jaw bone which leads to pain.
The area is difficult to clean and invites bacterial infection leading to redness
, inflammation and swelling of the adjacent tissues .
The infection may spread further to jaw bones and spaces .
Painful movable lump near the jaw line can be because of abscess
I would suggest you to visit to an Oral and Maxillofacial Surgeon and get a checkup done.
Take an OPG x-ray.
Take complete course of antibiotic and analgesic
Maintain a good oral hygiene ,
Use saline water gargles 3-4 times a day.
Use 0.2% of chlorhexidine
mouthwash gargles twice daily.
Mostly you have to go for extraction of the wisdom tooth and drainage
of the abscess.
Hope this helps out.