Database relationship for multi products, warehouse and stores

Hi guys,

I am new in term of database design.

What is the best way to create database relationship with multi products (with total stock) that will distributed through multiple warehouse and stores?

Any resouces, example project from the past will be appreciated.