Am I too skinny or too fat?

I am 5” 2 98 lbs and my physique absolutely sucks. I have no waist and I’ve tried restricting food but it just makes me uglier. I wish I could rewind because I actually managed to have some muscle and now it’s just weak and I look like a ruler with fat on it. I hope my bones are okay because I’ve been under eating for a long time and my posture looks like shit right now. 99% of girls my age look better and they don’t screw up their bodies like this to get there. I don’t know if should gain weight or keep losing to get rid of remaking fat.