If the universe has a beginning, can it also have an end? And if it has no beginning, how did it come into existence?

(A question from a philosophical perspective)