If you want a book to give some structure to your learning process this book covers the correspondence cartesian closed categories and typed lambda calculi as well as the relationship between toposes and type theories. In the front it covers a basic introduction to category theory although It's a bit lacking so I recommend pairing it with another source if you are starting from scratch.