In my circuit a have a 2 switches that connects to a logical gate and the output of gate will go to a relay but after the logic gate the voltage got lower to mili voltage and not enough voltage for the relay to work, they say that I must use capacitor but it only last for a second and I want my relay to work in indefinitely by the result of the two switches of the logic gate.
Anyone have an idea or hint to solve my problem?

here's a picture of my circuit design
[![](https://i.stack.imgur.com/0tOJE.png)](https://i.stack.imgur.com/0tOJE.png)