'Wish' and 'if only' are used for expressing desires about the present, regrets about the past, or annoyance with behavior. The structure varies: for present wishes, use past tense verbs; for regrets, use past perfect tense; and for annoyance, use 'would' or 'wouldn't.' Additionally, 'to be' verbs follow special rules and require the past subjunctive mood for singular subjects.