Is it possible to get pregnant without sex or ivf?

I’m young and out of school but I couldn’t take sex ed yet. Is it possible that you can get pregnant without having sex or having ivf?