Do not go. This is one of the clearest situations where the risk to you is immediate and serious.
When you enter a correctional facility for visitation, your identification is run through law enforcement databases as part of the check-in process. That search surfaces outstanding warrants, pending charges, and any active law enforcement flags associated with your name. If anything comes back, the facility has an obligation to act on it, and you could be detained on the spot before you ever make it to the visiting room.
Pending charges that are only a few days old may or may not have been entered into the system yet, but you cannot count on that gap to protect you. Some jurisdictions process charges into databases very quickly. Others take longer. You have no way of knowing where your specific situation stands in that process, and the consequences of guessing wrong are severe.
Beyond the immediate arrest risk, being detained at a correctional facility during a visitation attempt while you have pending charges creates a situation that your defense attorney will have to explain to a judge. It does not look good and it does not help your case.
The right move right now is to consult with an attorney about your pending charges before you do anything that puts you in front of law enforcement. Visiting your boyfriend, however important that connection is, is not worth turning one legal problem into two or making your current situation significantly more complicated.
Write him a letter in the meantime. Stay connected that way until your legal situation is resolved and you can visit without putting yourself at risk.