You can determine the center of gravity mathematically or experimentally.
The math approach is outlined in this thread:
https://www.rocketryforum.com/showthread.php?threadid=3379&highlight=cg+cp+101
To find the c.g. experimentally, load your rocket with motor, ejection wadding, and all components that will be onboard at the flight condition (parachute folded and stored inside, NC inserted in front of BT, of course). Hold the rocket in a horizontal position and balance it on your finger. OK, if you want to get fancy and accurate, balance it on the edge of something a bit more narrow. Note the position of the c.g.
You can find the approximate center of pressure using various mathematical models. One of the standard ones is the Barrowman approach; these equations are available at several internet sites as well as in the back sections of the Handbook of Model Rocketry (if you don't have one, GET ONE). Other stability calculations are programmed into design/simulation software such as RockSim. You can download a free trial version (an older version, and you don't get all the bells and whistles) of Rocksim at the Apogee website.
You can also determine the center of pressure experimentally, although this approach is somewhat conservative. Draw a profile view of your rocket, including fins in the correct orientation. (If you have a three-fin design, at least two of the fins will project into the profile view with 'shortened' span.) Cut out the paper drawing of your profile view, and balance it on the edge of something. Note the position of the c.p.
You would like the c.p. to be at least one body diameter (or 'caliber') behind the c.g. so if you have a three inch BT the c.p. would be three-plus inches aft. If it is not, you need bigger fins, or a bit of nose weight.
For short, fat rockets (with relatively low pitch/yaw inertia) this stability margin might be less, down to as little as 1/2 caliber. For long, skinny rockets (with relatively high pitch/yaw inertia) this stability margin may need to be several calibers.
Is that the info you are looking for?
Oh yeah, Welcome to TRF!!!