Question
Hello. I need help because I discovered that I unknowingly have/caused a huge problem and I don't know how to solve it or repent for it properly, and I’m honestly scared and stressed out because of it and because I can’t find a proper answer. I have been spilling seed for a few years now (5-6) and I was unaware about it being a major sin until very recently when I came across the topic online. I didn't realize how big or grave of a sin it was, and now I'm trying to figure out how I can repent for it after all this time. I've been looking on Google for answers (I can share some sites that I found if needed or for context), but I haven't been able to find a concrete answer for my predicament. What should I do, and how can I repent for this sin and how long I've done it?

Question
Since the Passuk in the Torah commanding shechita (Deuteronomy 12:21) mentions “your settlements” does this mean according to Halacha shechita in outer space is invalid? Or Is my hypothesis completely basis?

Question
Must I atone for the sin of idol worship if I did it in my dream? I had a dream last night that I physically bowed down and prayed to some statues of deities and enjoyed doing so. I have no idea what triggered such a dream because it never crossed my mind to do this in real life. Did I sin by having this dream?