seperate objects

When I make a new mesh, how do I make it so that select only that mesh instead of selecting everything at the same time

Add your new mesh in object mode. If you add a new mesh in edit mode it becomes part of the active mesh.

If you do mess up, or if you want to separate a mesh for a different reason, click P and it will bring up a menu to separate mesh by various conditions.