If your friends engage in haram activities, it is important to advise them to avoid such actions and remind them of the teachings of Islam. If they continue to engage in prohibited behavior, it may be necessary to limit your participation in those specific activities. It is crucial to prioritize your faith and protect yourself from being influenced negatively.