To play an AVI file with subtitles first - install a media player capable of playing subtitles. One that does is BSPlayer.
Then put the .sub (.srt) file in the same directory/folder which your video/movie file is in. Now open BSPlayer and enable subtitles. Also make sure your subtitle file has the same name as your video/movie file.