Tooth is impacted in soft tissue , only half of it is erupted . Most probably your upper wisdom tooth has erupted and it has been hurting tissue over last molar tooth
Next Steps
Visit dentist get both upper and lower wisdom tooth removed , you will be fine
No fungal infection , it seems
Health Tips
Rinse with warm saline , 4/5 times per day
Consult online if you want medication
Visit dentist tomorrow only