Drivers hours dilemma

Hi, just a quick enquiry, i,ve gone a bit dumb. I worked lasy mon, tues, and wed. then had at least 36 hours off. Drove 10am friday till 10am Sunday, with correct daily rest periods. Back behind the wheel 24 hrs later, mon am. When do i need to take my next weekly rest period and for how long?