how to determine whether or not to rent or buy a home

how to determine whether or not to rent or buy a home