A sonogram, or ultrasound scan, can help determine the sex of a baby, but using fetal ultrasound to create keepsakes is not recommended.