I think gaining and losing weight is not a hallmark or symptom of cancer. Please try to take some very small steps towards exercising, even if it is just something very simple like walking around the block. It will help.
Has anything happened recently to trigger this fear in you? Has somebody you know gotten cancer? Have you talked to your parents or your friends or other members of your family about it?