Both are completely different. Remember = Remember to be here at 6, o clock. Remember to bring the flowers with you. = Acordarse. I remember when I was in Madrid = Recordar.
Remain = Quadar. All that remains is to thank you , sólo queda darle las gracias. And remain can be like to stay, nos quedamos allí 2 semanas, = we remained there 2 weeks.