Buy a house rather than a flat. Flats tend to have "management charges" to tidy communal areas that will eat into your profit margins. Be aware these management companies can change - and new companies can and do hike up their charges. You are at their mercy.
Also check the remaining lease...