Been a minute

So it's been some months since I've had sex and I plan on having sex again soon while it be real painful? If so what are somethings I can do to make it less painful