Boyfriend

So my boyfriend doesn’t want the baby I want to move with my cousin in another state and I didnt think he would care but now he wants to sue me for custody. Is there anything I can do to get full custody?