Sexual frustration

I want to have sex but I have no one to do it with. Plus my ex just broke up with me because he couldn't do long distance anymore. I still think about him and think about being intimate with him all the time. I need a way to solve my sexual frustration. I'm also a virgin who's kinda scared of having sex too. I'm so confused 😭.