He won't eat

Hannah
So almost two weeks ago I got a dog through a free adoption and he's eaten maybe twice since he's eaten his food twice if even that I worry about him not eating anything so have been giving him some human food and dog treats both of which he'll eat what can I do come on pet mamas I need help