Hi William,
There is no quick easy answer to your question. Please take a look at the following Kwiziq lesson and also, as Chris says, the Q&A section which is full of answers to more specific queries -
https://progress.lawlessfrench.com/revision/grammar/when-to-use-cest-or-il-est-elle-est-to-say-it-is
Bonne Continuation!