Hey Surabhi,
Along with the tips given by Eva and Manasi, Prefer doing your workout in group or have some friends, group exercises keep boredom away and provide a common forum for the discussion of day to day problems, competitiveness among the individuals which is in itself a motivating factor, listen to your Favorite music to boost you at gym etc.