Relationship issues

If you love your partner as a person and y’all have a child together but the sex just isn’t good would you stay?