Questions for unmarried moms

Ah
Someone asked me this earlier and i wasnt sure. Will your baby have the fathers last name? Yes or no and why? Married moms can answer too! I'm really interested to know other people's views on this.