Having trouble swallowing, diagnosed oral thrush taking nystatin?

37, male

Medical conditions :

Hipertension

Scoliosis, disc herniations, spondylolysis, right leg is 1 inch shorter than left one.

About 3 weeks ago started having trouble swallowing. Went to the emergency , was told I had “sore throat” and was prescribed antibiotics. 5 days later felt bad again , went to a different emergency and was told i had “oral thrush” , was put on nystatin, it worked well the first two days, but then I felt itchiness when taking it.
Went to the emergency again , And was hospitalized for four days, it seemed to have improved, but now it has been more than a week since discharge and today ami am having trouble swallowing saliva again.
I haven’t been able to swallow the prescribed.medicine by the gastroenterologist due to fear of swallowing it whole.