Suspected oral cancer

I had a swollen gum so got an appointment at the dentist as an emergency, they gave me antibiotics and said my gum under the X-ray didn’t look quite right and have referred me to a specialist. I had a call from hospital the same day arranging an appointment for the head and neck cancer department. I’m now petrified and wondered if anyone had been through the same or has any advice.