Manuel Pellegrini says it is important for Samir Nasri to keep playing matches after joining West Ham following his ban from the game.