hello and welcome to HCM forum,
according to the history presented by you, it seems that your 3rd molars are erupting and to a some extent restlessness
, pain and swelling is associated with it.
i would recommend you to kindly visit your dentist
, to check the erupting 3rd molar.
i.e inflammation of the gingival flap that covers the erupting tooth might be swollen and therefore need to be removed.
also, you will be presribed antibiotics and anti-inflammatory 's to relief you from symptoms.
you should start using antibacterial mouthwash to keep the area free from food lodgement which can otherwise worsen the condition.
warm saline rinses will also help,
i wish you good health.