One trick is to flex the card so that the magnetic strip bows outward before running it through the slot or inserting in the gas pump. I used to have to do this for one of my old cards before I replaced it.
Of course the credit card company will be very happy to send you a new card to make it easier for you to spend money on it.