hello and welcome,
the gum can be repositioned by suturing or it can be approximated.
visit your dentist
and get examined clinically.an x-ray will help to rule out the condition of tooth,ie,any root fracture
,periapical pathoses if present.
if tooyh is mobile and fractured and mobile,rct/splinting has to be done.
take complete antibiotics and analgesics course prescribed by your dentist.
take warm saline and betadine
rinses to enhance healing.
please keep the area clean as it can cause spread of infection.