My family is muslim but commit many many major sins very often, and ignore me if I warn them kindly and mock me for adhering to Islam, what should I do?

Ustadh AbdulAziz al-Haqqan
Protect your religion and invest your time in seeking knowledge and getting closer to Allah, you have advised them, they didn't listen, then focus on yourself.