ask seller what is current term of lease.
if there is a lease, you need to honor the lease;
if month by month, tenant > 1yr, you need to give 60 day notice
above assuming tenant cooperating with you...
If they haven't paid rent for a while, good luck eviction.