If you do not mind sharing how did that happen? Was it a landlord who gave you notice to leave and did he give definite reasons?
The letting agent told me the owners wanted their flat back, it was relet very quickly.
Prior to this a neighbour had a quiet word, told me the residents committee were aware of my visitors and she advised me to tell them not to park in the car park.
The car park was watched prior to me living there because it was sometimes used by people popping into town.
Not all my visitors were clients and some of my personal life ones were a bit of a pain - as well as clients drawing attention by shouting into their phones, parking in neighbours spaces, forgetting the door number, buzzing other numbers asking to see me in my working name. Leaving shouting back 'bye Mirror thank you'. Sound proofing wasn't great and you could hear from corridor to hall.
I was pleased to leave, and a bit later sorted out some of my life which helped!