Can I file with my boyfriend if we have a kid and live together?

I am not sure if we should file together or separately, and who should claim our child.