How to get over someone?

Any tips? How do I forget about them?🙄 I’m usually just home & I’ll think about them or I’ll think about them at night. I know some people say go out hangout with friends, I don’t really have any so that isn’t an option.