The only way to be sure is to randomly take either the real preparation or some placebo that looks, tastes, smells etc. exactly the same so you can’t tell the difference. The placebo effect does not require you to believe in the cure.
To be sure, yeah, but if you've tried a bunch of things with no success, and then one thing works despite your having no real optimism for it, that's pretty suggestive of a non-placebo effect.