Plan b help me please

I had sex last night and about to take the plan b pill today should I take both pills at once it have not been 24 hours yet