Bottom navbar not changing screens

I have designed a bottom navbar component and variants are prototyped but I don’t know how to connect them with main screens like home, explore, profile etc pls help me new to Figma and not finding any tutorial on it