There are many good textbooks you can go for, if you want to build up basics you can use any good university physics to understand heat and the basics of thermodynamics.
After that, you may go through the books like "Statistical Mechanics" by R. K. Pathria and P. D. Beale and/or "Fundamentals of Statistical and Thermal Physics" by F. Reif.
Though I know that the book by Pathria is widely hated in some communities, but after you get through the initial pages of the book, you feel it's quite good unlike the book by Jackson, which maintains the incomprehensibility.
On the other hand, the aforementioned book by F. Reif is a widely accepted book not only for the Statistical Mechanics, but for the Thermodynamics also.
After that, you can obviously go for "Statistical Physics (Course of Theoretical Physics, Volume 5)" by L. D. Landau and E. M. Lifshitz.
Another good book (or the one that I prefer the most) is the book by Prof. Mehran Kardar, "Statistical Mechanics I: Statistical Mechanics of Particles". He delivered his lectures at MIT, which are very closely related to the book and are very well explained; he first taught the basics and then discussed about the Statistical Mechanics for fields. This book (or the lectures) is also easy to comprehend and has good examples and questions as well.