It sounds like you are in a situation like many of us have been in the past. Searching for answers, desperately trying to lose at any cost.
Please, educate yourself about nutrition. See a doctor and a registered dietitian if possible. Eat enough calories for you and your body (could be 1,200-2,600 or more depending on size, age, activity level and so on).
Be gentle with yourself!