Is it necessary to take plan b?

Had unprotected sex last night, period started today. Should I take a plan b or should I be okay since I wasn’t ovulating?