How can I just limit Stock, Account Module usage for ERPNext Software

I have a need where I just want to use Stock & Account Module in ERPNext.

This is too broad a question for somebody to reasonably answer and it has been answered in some detail already. Use the search function of the forum.
If you want better answers, ask longer questions.