You can use a "technique". The advantage? It requires fewer crankshaft turns.
Or, you can understand how the 4-stroke cycle works.
The bottom line? You should only set a valve when it's closed. If you don't know when that is, you need a technique.