Can I just go to any church by myself?

I am at the brink. I just need something. I wanted to go to church but I have nobody to go with.

Please do not judge me for resorting to religion but I need something. I need people. But I mean I’d be going to some random church, as a new person, by myself, no idea what’s going on. I just want to go but I’m scared