If you have already purchased your ticket and forgot to include your Iberia Club card, you can add it by accessing your bookings from Manage your booking. In the booking details, under Passenger information, you can add your loyalty card number. You also have the option of adding it during check-in.
Once you have flown, you will need to manage it through My Iberia, select My Iberia Club and then Request uncredited Avios.