Beagles, like all breeds that have their origins in hunting, have a constant need to look for something, so they like to play hide and seek, often even burying them.
As this is part of the instinct of these puppies, what should be done is to indulge them with games that stimulate these wills inherited from their ancestors, choose certain toys for them to associate with the activities and forget the other objects. You must show the toy and initially hide it in places that are easier to find. Gradually increase the difficulty according to the effectiveness of the search, using any word or phrase of your choice for the puppy to associate with the game, such as 'where is it?', For example.
Hope this helps,