Give up: To stop trying to do something, quitting a habit, withdrawing from something.
His doctor advised him to give up smoking.
Give in: To accept defeat, give way for something, letting something happen.
The authorities refused to give in to their demands.