This is done by testing for antibodies, testing insulin levels, and testing a substance called c-peptide. If you have
type 1 instead of
type 2, then you need to be on insulin.
If you are feeling bad (vomiting, nausea, headache, chills) then you also need to go the nearest emergency room as soon as possible. This is something called diabetic ketoacidosis. It can be fatal if not caught and treated early.
Please immediately adopt low carb eating.