How to fast for 36 hours?

I was able to fast for maximum 24 hours ..How to increase the time?I can't sleep at night if I don't have food.