There are several things you can do to get a good slide sound: Set up your guitar with heavier strings, use an open tuning, try different kinds of slides, dampen the strings, and learn to properly intonate. Getting a good sound is often as much a function of proper setup as it is technique. Some guitarists like to raise the action on a cheap guitar and put on heavy-gauge strings—guitars with low action and light-gauge strings make it difficult to get a good tone because the extra weight of the slide can bang into the fretboard and produce unwanted sounds.
Check out the full lesson here: https://acousticguitar.com/video-lesson-simple-acoustic-blues-tips-that-can-improve-your-bottleneck-slide-technique/