The Nyāya school taught that there are four methods for knowing if something really exists: direct perception, inference (conclusion from indirect means), comparison and analogy, and testimony from experts.
Vaiśeṣika gave more attention to metaphysics (= meaning understanding the abstract nature of existence, beyond what we can perceive with our senses).