should I eat or starve?

A
So I have PCOS and it is currently 12:03 am I should be alseep but because of my pcos I suffer from insomnia.. no matter what time I wake up in the morning... 4 am 10 am 2 in the afternoon I'm never hungry... never.. I have to make my self eat.. and every damn night after 10 pm I get soooo hungry and crave all the foods I shouldn't eat because I am at least 20-30 pounds over weight which I already struggle to lose.. any ideas of what I can do?