Cant sleep

I take melatonin and for awhile thats been helping me get to sleep properly , Because without any form of meds i cant sleep . Lately i find myself tossing and turning and waking up early .. Because i cant sleep for some reason . And i end up regretting it later because my eyes will become so heavy && i have affects from the melatonin like feeling really sleepy and tired🥺 i dont know what to do