Trigger that selects month start to previous month
I'd like a trigger to select every month starting from the beginning of the year to the previous month. I have a variable as previous month and a month number field. Can someone please assist. I have already made a trigger that selects the current year I only need this one to select for example if it was april select month 1,2,&3.