According to a standard rental contract you should have, there should be stated that the apartment is in your possesion in the time of renting period. So the landlord could only come to see if the apartment is ok, if he calls you first and asks. And if they need any fixing that should come from you - i.e. depending on a contract.