We start above the ceiling, not below it. Where the joists sit decides where the fan can go, and it is better to know that before anybody has been promised a position. If the spot you want has no joist over it, a batten or brace goes in between the joists, and if there is no access at all we will say so rather than fixing to plaster and hoping.
Then the electrical side: an existing point reused or a new one run, the fan earthed, and a means of isolation so the thing can be worked on safely later. Controls get sorted at the same time, which in practice means either commissioning the remote and pairing it, or running the cable for a wall control if that is the decision. Speed controllers are matched to the motor, because a controller made for an AC induction motor will not run a brushless DC fan and can damage the driver in it.
Balance is the last step and it is the one that determines whether you like the fan. A wobble is normally the mount or a blade set that is out, not a faulty motor, and it is far quicker to correct while the ladder is still up.
On replacements, it is worth a look at what is coming down. Two ceiling fan recalls have run in Australia recently: a Clipsal Caloundra sweep fan sold between November 2019 and May 2021 where the blades could crack and detach, and a Beacon Lighting Moonah where removing the light cover with the light on created a shock risk. Both were product defects rather than installation failures, but if your existing fan is from that window it is worth checking the model against the ACCC recall list before spending money on it.
In an apartment, check with the owners corporation before ordering. A fan inside your own lot is usually treated as a minor renovation, and a balcony fan fixed into a common property soffit is a different question entirely. Getting that agreed first is far easier than unwinding it, and the way strata work is usually handled is on our strata electrical page.