Boyfriend vs Bestfriend

How can I divide the time spent with my boyfriend and Bestfriend? I tend to focus so much of my attention on my boyfriend, that I lose friendships. I want to know how I can be a good girlfriend and friend.