@Malik_Raheel i suggest you read this…
then edit your post to add-in the missing information, including your FULL sketch.
Pete.