I can't get rid of my unwanted roommate?

What if you rented out your place to a friend while you were on vacation and when you got back, they decided not to leave.
What if you rented out your place to a friend while you were on vacation and when you got back, they decided not to leave.