The pronoun 如何 is often used in written language. It is used in several situations:
1) to ask how something works
In this case, it comes before a predicate.
Pay attention
The synonym in informal speech is 怎么 .
Examples
你知道如何让闹钟不响吗?
Do you know how to make an alarm clock stop ringing?
nǐ zhīdao rúhé ràng nàozhōng bù xiǎng ma
该如何处理这个问题?
How do you solve this problem?
gāi rúhé chǔlǐ zhè ge wèntí
It is also used in positive sentences.
Examples
我等着看她如何反应
I am waiting to see his reaction
wǒ děngzhe kàn tā rúhé fǎnyìng
这篇文章介绍如何申请职位
This article explains how to apply for a job
zhè piān wénzhāng jièshào rúhé shēnqǐng zhíwèi
2) to ask how things are going.
In this case, it comes at the end of the sentence.