In musical notation, the placement of the stems on the notes follows a general rule:

Stems.excalidraw.png

However, this rule is flexible when combining two or more quaver notes that are far apart from each other.

Quavers with stems.excalidraw.png

Quavers on the stave

Stems of single quavers follow same rules as crotchets and minims.

But the tails or flags of single quavers are always on the right.