Teodora,
Whether event-related or block design, just simply put 1s for those TRs when you have event or stimulus on, and 0s for those when stimulus is off. Don't worry about those 0s since 3dDeconvolve will interpret those TR's as resting periods and use them for baseline modeling.
Gang