Additionally stop looking at screens some time before bed, this influences your sleep negatively. Also avoid alcohol.
Most smart watches track your sleeping quality and some allow you to (manually) log such external interferences for you to reflect what might cause the most distress for your sleep.
For example I had the Amazfit GTS 2 mini, which is quite cheap and the app has this feature.
From the title my stupid brain thought you were looking for flavour powder that made the water taste like it was expired/old (maybe for Halloween or as a joke or something) xD