Put the remote controller at the same point from which the aircraft took of.. But note that the return to home feature will not work within 20m. So if you are testing it within this distance, the aircraft will land immediately. This is probably what is happeneing to you