As Salam Alaikum
I am a convert to Islam and prior to becoming a Muslim I was an atheist. When I was younger I had sex with an ex girlfriend prior to either of us being married. I was reading Surah an-Nur and it states two things of importance to me
People who commit fornication must be flogged 100 times for their actions
Men who have commited fornication must marry women who have done the same
Do these rulings apply to me even though I was not Muslim?
Alhamdulilah