Names, Nicknames, and Other Nicknames

How do you decide when to use a name and when to use a nickname? I’m writing in first-person POV right now, and the main character’s best friend is named Jillian, but people for the most part call her Jill. How would you distinguish when to give what name?

(I also remember Elizabeth being called both “Eliza” and “Lizzy” in Pride and Prejudice. I recall Mr. and Mrs. Bennet calling her Lizzy, and Charlotte calling her Eliza. I think the third person narrator calls her Elizabeth initially, but I don’t really have a third person POV here).