If you are travelling to the Games and require accommodation you should book before you arrive as hotel rooms are likely to be in short supply (and expensive - most hotels have increased their prices for the Games).
Also, please beware of fake websites advertising accommodation. Check out each website thoroughly before you make any commitment. Never agree to pay by cash in advance and never use a Money Transfer Agent. Always check the terms and conditions to confirm exactly what you are being sold.