There are two ways to figure out your macros and get your macronutrient ratio: 1. Find an online macro calculator. There are plenty of free ones if you Google it. You’ll have to find the one that fits best for you as they all offer different formulas. Some may you sign up for email lists, some have other ways to get your macros – but there are free options available.
Simply start logging what you eat in their portions (ie: a cup of rice, 175g of yogurt, etc). Take it week by week and know you won't be perfect. This is all data to understand your habits to to ensure you eat as much as possible!