Exposed to someone who might have had scabies - what do I do?!

So around 10 days ago I slept in the same bed as someone. They just found out that they have scabies and told me (he actually got his friend to tell me because he was embarrassed…) and now I’m wondering what exactly to do. I haven’t been itchy at all, but Google says that I’ll find out between 2-6 weeks if I am infected, is there any way to know beforehand? I’m so stressed! Is there anything I can do now to prevent it? Thank you so much for any advice 🙏