Both landlords and tenants have a number of rights and are subject to civil and criminal law.
For example, it is an offence for landlords to commit acts likely to interfere with tenants' peace and comfort, or to act in such a way that you are likely to leave, or to stop you exercising your rights. Other examples of harassment include
Gov.uk has more information about landlord and tenant rights and obligations.
Contact your local district or borough council for further information.